Designing the Interface

In Figure 21.4, and in your Xcode main window, notice a file called Main.storyboard. A storyboard file contains information about the user interface for your program, including information about its windows, buttons, labels, tab bars, text fields, and so on. It also can describe information about the transitions that are to be made as the result of actions taken while the program is executing (for example, what happens if someone presses the first tab button on a tab bar). In the past, iOS developers have traditionally designed their user interface using XIB (or historically, NIB) files. That can still be done, but a storyboard is the default file created by Xcode, and is more powerful than using an XIB file.

Of course, ...

Get Programming in Objective-C, Sixth 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.