O'Reilly logo

Learning iOS 8 Game Development Using Swift by Siddharth Shekar

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 2. Swift Basics

Okay, let's begin. But before we dive into Xcode, you need to learn Apple's new programming language—Swift. For people coming from a JavaScript background, this will look very familiar. Apple has taken the best parts and practices from both scripting and low-level languages, and integrated some amazing features of its own to make Swift easy for anyone to get into, and start coding. As we go further, we will see that Apple has also added a few features that really make Swift shine compared to other languages.

As we saw in Chapter 1, Getting Started, we will be using Xcode's playground to do all the coding. Playground is a very versatile tool. Whenever you create a new file, you can start working on it immediately without ...

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