b/power-brain by BaronMunchausen

Error Handling in Swift 2.0

This post was published 8 years ago. Download links are most likely obsolete. If that's the case, try asking the uploader to re-upload.

HDRips | MP4/AVC, ~176 kb/s | 1280x720 | Duration: 00:38:00 | English: AAC, 82 kb/s (2 ch) | 50 MB
Genre: Development / Programming

An undeniable fact of software development is that bugs will crop in your code and lead to undesirable outcomes. Error handling is the process of anticipating a certain class of bugs and writing code to handle them. In this course, we take a look at the built in language constructs in Swift 2.0 to handle errors including modeling our own errors, throwing errors from functions and more. We also look at how Objective-C handles errors and what this means to us as Swift developers.

What you'll learn

Errors in Cocoa
Manual vs Automatic Propagation
Throwing functions
ErrorType protocol
Errors in Swift

Screenshots

If you like my post click on "Say thank you".