#417 - Swift 5's Result Type
NSScreencast (free videos)
English - November 08, 2019 10:00 - ★★★★★ - 1 ratingTechnology Education How To ios iphone ipad tvos watchos swift objective-c obj-c objc programming Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: #406 - Tinting an Image Using Masks
Next Episode: #443 - SwiftUI Lazy Stacks in iOS 14
Before Swift 5 we used to write our own Result type to contain a value or an error (but never both). A lot of 3rd party libraries brought along their own as well. Then Swift 5 came and brought us Result. Not only is it slightly different than the ones we might be familiar with, Swift's Result type also has some useful functionality up its sleeve.