Designing the Interface
In Figure 21.4, and in your Xcode main window, notice a file called ViewController.xib. An xib file (traditionally referred to as a nib file because the extension used to be nib) contains information about the user interface for your program, including information about its windows, buttons, labels, tab bars, text fields, and so on. Of course, you don’t have a user interface yet! That’s the next step.
Select the ViewController.xib file from the left pane. This causes the interface design tool to appear, as shown in Figure 21.8. The right pane shows the iPhone’s main window, which starts out empty and with a gray background by default.
Figure 21.8. UI design pane
Note
The window depicted here is for the longer screen ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access