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 ...

Get Swift 2 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.