Changes in new versions / Swift 2.0
The guard statement
The defer statement
Error handling with throws, try and catch
Custom errors: ErrorType, try? and try!
Protocol extensions
Availability checking with #available
repeat-while instead of do-while
The @testable import
Protocol extensions
This example is in the full version, available in the app stores:
Swift Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account