Information Technology Reference
In-Depth Information
the figure. You can hide either or both by clicking the window close crosses at the top left. You also can drag
them apart to make them easier to work with.
If you select IBViewController.xib , you see another object—an empty view. The template uses the ap-
plication architecture that was introduced earlier in this chapter, and these examples illustrate how it appears in
IB in practice.
Objects appear ready for editing when you select them. If a nib file contains more than one object, the editor
may show more than one object at the same time. Selecting an object in the left column brings it to the top of
the editor and draws a highlight box around it in the column. In single-column mode, tool tips show each ob-
ject's name.
FIGURE 7.5
Objects appear ready for editing when you select them.
Figure 7.6 shows how you can view both objects at the same time if your monitor is large enough. For an iOS
app, the relative position of the objects doesn't affect the appearance of the application when it runs. The de-
fault layered orientation is confusing and unhelpful, so it's often useful to move objects apart like this. However
you arrange the objects, it's important to leave room for the Utility pane at the right because it's a critical ele-
ment in IB.
NOTE
Search WWH ::




Custom Search