Information Technology Reference
In-Depth Information
Working with Interface Builder
IB is now built into Xcode 4. It launches at the same time as Xcode, and you can edit a nib file simply by select-
ing it. IB in Xcode 3 had the same poor window management as the main editor. IB's windows would often hide
behind other windows for no reason.
In Xcode 4, you can use tabs, the navigation bar, and other new editor features to work with multiple files more
efficiently. Linking and symbol editing have also been drastically simplified. You can drag links directly from a
control or object in IB to a code window, as shown in Figure 1.10. Xcode inserts appropriate code for you in
both the header file and the implementation. It also synthesizes outlet variables automatically. For detailed ex-
amples of creating links among outlets, actions, and IB objects, see Chapters 7 and 8.
FIGURE 1.10
Creating outlet code automatically in Xcode 4. This is a very powerful time-saving feature.
Search WWH ::




Custom Search