12. Making Apps with UIKit

Apple has two major kits available in its library: UIKit and AppKit. AppKit is for desktop applications, and UIKit is for iOS applications. In this chapter you are going to explore UIKit and take a look at how to build a common application.

Thanks to the Storyboard, size classes, and constraints, automatically laying out your application is super-easy.

Application Types

Each app gets a Storyboard, which is named main.storyboard. This file is a graphical (not code) way of writing the user interface for your application. In this chapter you’ll learn how to implement common user interface designs using Swift. Let’s get started by creating a new project. Select File, New, Project. At this point you should be presented ...

Get Learning Swift 2 Programming, Second Edition 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.