In this chapter you will download, install, and set up the Apple developer tools necessary to follow along with this book. You will be introduced to the Swift programming language, by way of writing the venerable “Hello world” program and by seeing how two common actions are performed in Swift as compared with Objective-C: logging and commenting.
The minimum version of Xcode that supports writing Swift code is Xcode 6. Xcode 6 requires a Mac running OS X 10.9.3 or higher. The easiest way to install Xcode is via the App Store. From the menu select App Store.... Search for “xcode,” which should return ...