O'Reilly logo

Swift 2 By Example by Giordano Scalzo

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

Building a skeleton app

Let's start implementing the base structure on top of which we'll implement the entire app.

Implementing an empty app

Let's start creating a new app called Todolist using the Single View Application template in Xcode. The app will be in portrait mode only, so you must uncheck Landscape from the allowed device orientations:

Implementing an empty app

Although Apple has improved Interface Builder in Xcode 7, most developers still favor writing the layout in code instead of using Interface Builder. The common reasons are that with Interface Builder, it is more difficult to create reusable views, which makes working in a team difficult because of merging ...

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