Swift 5’s Result type – Daniel Steinberg

For years, many developers have added their own Result type to their projects. As of Swift 5, Result is part of the Swift Standard Library. In this session, we’ll spend most of our time motivating Result by looking at fatalError, Optionals, and Errors. Once we see the need for Result we’ll look at how it’s implemented and how we connect it to your workflow using map and flatMap.

 
daniel-steinberg.png

Daniel Steinberg

Daniel is the author of the best selling books A Swift Kickstart and Developing iOS 7 Apps for iPad and iPhone (the official companion book to the popular iTunes U series from Stanford University taught by Paul Hegarty).

He has written apps for the iPhone and the iPad since the SDKs first appeared and has written programs for the Mac all the way back to System 7.

Daniel presents iPhone, Cocoa, and Swift training and consults through his company Dim Sum Thinking. His books are available on the iBookstore. When he’s not coding or talking about coding for the Mac, the iPhone, and the iPad he’s probably cooking or hanging out with his daughter.

@dimsumthinking / dimsumthinking.com