O'Reilly logo

Transitioning to Swift by Scott Gardner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    1

Getting Started

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.

Installing Xcode

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 9781484204078_unFig01-01.jpg App Store.... Search for “xcode,” which should return ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required