.XIB WINDOW

In Xcode 4, Apple has integrated Interface Builder right into the Xcode IDE. You no longer need to launch Interface Builder as a separate application. To use Interface Builder, simply select any of the .xib files in your Xcode project. For example, if you have created a Single View Application project, there will be one .xib file in the project. Selecting it automatically launches Interface Builder.

When Interface Builder is launched, you should see something like Figure B-21.

image

FIGURE B-21

Within this window are several items; and depending on what you have selected, you should see some of the following:

  • File's Owner
  • First Responder
  • View, Table View, etc.

By default, the three items are displayed in icon mode; but you can also switch to display in document outline mode, where you can view some of the items in more detail. For example, Figure B-22 shows that when viewed in document outline mode, the View item displays a hierarchy of views contained within the View window.

image

FIGURE B-22

Get Beginning iOS 5 Application 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.