Chapter 4Building User Interfaces

We’ve had three chapters to play around with Swift. Now we’re going to come at iOS development from a completely different angle: developing the user interface.

We’ll kick things off with a little secret about iOS development, something it inherited from Mac development: Create the user interface first. This is totally backward for a lot of seasoned developers. A lot of us think through an application’s requirements and immediately start thinking of our data models and strategies and…nuh-uh. Build the UI first. Build what users are going to see, what they’re going to interact with, and start to understand how they’ll experience it. Then figure out how the heck you’re going to do that.

That philosophy is reflected ...

Get iOS 9 SDK Development 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.