Book Image

Swift Cookbook

Book Image

Swift Cookbook

Overview of this book

If you are an experienced Objective-C programmer and are looking for quick solutions to many different coding tasks in Swift, then this book is for you. You are expected to have development experience, though not necessarily with Swift.
Table of Contents (13 chapters)
12
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