Preface

Swift is Apple's new programming language that was introduced at the Worldwide Developers Conference (WWDC) in 2014, alongside the integrated development environment Xcode 6 and iOS 8. Swift was arguably the most significant announcement at WWDC 2014, and very few people, including Apple insiders, were aware of the project's existence prior to it being announced.

At WWDC 2015, Apple made another big splash when they announced Xcode 7 and Swift 2, which is a major enhancement to the Swift language. During WWDC, Chris Lattner said that a lot of the enhancements were based on direct feedback that Apple received from the development community.

Swift can be thought of as Objective-C reimagined using modern concepts and safe programming patterns. ...

Get Mastering Swift 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.