12. 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 some common applications.

UIKit has gotten much easier to use in this iteration of iOS. While you can write everything from scratch in code, it’s much easier to use the storyboard. Thanks to the storyboard, things like size classes mixed with constraints make automatic layout of your application super easy. A lot of the applications that you see in the App Store and applications that you’ve used every day are built using these utilities. You can customize these UI tools as much as you need to.

In this chapter, ...

Get Learning Swift™ Programming 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.