Creating the User Interface

To open a file for editing in Xcode, you need to click it only once. Double-clicking will open it in a separate window. Click once on the Main.storyboard file. This opens the file in Interface Builder (see Figure 9.7), where you can easily create the user interface for your app. With the storyboard open, you can drag user interface elements from the utility pane on the bottom right and control a range of settings on the top of the utility pane.

Image

Figure 9.7 Interface Builder.

In the lower right of the utility area, you should see the Object Library, which contains all the user interface elements you can use in your app. ...

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android 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.