Working with XIB files

Even if an XIB file can be used in different ways, its most common use is defining the interface of a single-view controller.

When you create a new view controller, you can flag the choice Also create XIB file to automatically associate an XIB file to the new view controller:

Working with XIB files

When you open the XIB file with the interface editor, you'll see that the document outline already contains some elements:

Working with XIB files

The Placeholders section includes two proxy objects that you most likely won't need to update. The File's Owner section describes the ...

Get Learning iOS UI 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.