Book Image

Swift Cookbook

Book Image

Swift Cookbook

Overview of this book

Table of Contents (18 chapters)
Swift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. Getting Started with Xcode and Swift

In this chapter, we will cover the following topics:

  • Installing Xcode from the App Store

  • Downloading the Xcode image

  • Starting a Swift project

  • Using Swift project options

  • Creating a conditional code

  • Adding a developer account

  • Compiling from the command line

  • Using Swift as an interpreter

  • Adding a control version system to an existing project