Swift 2.0

Apple Swift blog:

“Today at WWDC, we announced Swift 2.0. This new version has even better performance, a new error handling API, and first-class support for availability checking. And platform APIs feel even more natural in Swift with enhancements to the Apple SDKs.”

A few highlights of Swift 2:

  • Error handling model
  • Availability blocks
  • Protocol extensions

You can read all about Swift 2.0 with this pre-release iBook: The Swift Programming Language (Swift 2 Prerelease).