UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Key features in Swift

Paul Hudson    June 11th 2015    @twostraws

I already wrote overviews of all the new features of Swift 2 and the new features in iOS 9, but I wanted to get into more depth with some of the Swift 2 language changes so you could start getting to grips with it.

So, I wrote four short articles explaining four key new features in Swift 2 syntax: try catch error handling, guard, defer and API availability checking.

You can work through them in any order you want – enjoy!

UPDATE: I put together a huge and free collection of Swift example code, so if you're upgrading your code you should definitely check it out.

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.