Introduction
In this chapter, we will learn the basics of creating a project with Swift. Even if you have already created your own project, it is worth reading the recipes of this chapter. You will learn how to interact with Xcode, how to test your code from the command line, and at the end, we will review the basics of this language.
Before downloading Xcode, you have to know that you can't use Swift with any version of Xcode; it must be 6.0 or higher. To install the version 6 of Xcode, you must have at least OS X Mavericks (OS X 10.9), so meet these requirements before installing it.