Complete Day 80

This commit is contained in:
CypherPoet 2020-01-08 20:04:31 -06:00
parent 99ae50893d
commit 37f07f9789
2 changed files with 27 additions and 1 deletions

View File

@ -85,10 +85,11 @@ I'm currently seeking freelance, remote opportunities as an iOS developer! If yo
- **Day 76:** [_Project 15: Accessibility_ (Part Three)](./day-076/)
- **Day 77:** [Milestone for Projects 13-15 (Part One)](./day-077/)
- **Day 78:** [Milestone for Projects 13-15 (Part Two)](./day-078/)
- **Day 79:** [_Project 16: QRCollector (Part One)_](./day-079/)
</details>
- **Day 79:** [_Project 16: QRCollector (Part One)_](./day-079/)
- **Day 80:** [_Project 16: QRCollector (Part Two)_](./day-080/)

25
day-080/README.md Normal file
View File

@ -0,0 +1,25 @@
# Day 80: _Project 16: QRCollector_ (Part Two)
_Follow along at https://www.hackingwithswift.com/100/swiftui/80_.
<br/>
# 📒 Field Notes
This day covers Part Two of _`Project 16`_ in the [100 Days of SwiftUI Challenge](https://www.hackingwithswift.com/100/swiftui/80). (Project 16 files can be found in the [directory for Part One](../day-079/).)
It focuses on several specific topics:
- Understanding Swifts Result type
- Manually publishing ObservableObject changes
- Controlling image interpolation in SwiftUI
## Understanding Swifts Result type
Being able to return declarative, deterministic, strongly-typed information about the success or failure of an operation is a beautiful -- and useful -- concept -- even more so when dealing with asynchronous operations.
It's no coincidence that Swift's `Result` type is basically what [everyone was rolling on their own](https://www.swiftbysundell.com/articles/the-power-of-result-types-in-swift/) well before its introduction in Swift 5 😆.