Datasheet
18
Getting Started
Figure 1.11
New left and right panes in Xcode 4 display ancillary information and manage optional features that
may not be needed while editing.
The utilities pane is also shown in Figure 1.11. It includes a new Library sub-pane that can dis-
play file templates, standard code snippets, standard system objects that include both UI and
data classes, and project media files.
The Code Snippet feature in the Library is shown in Figure 1.12. It’s often useful to reuse the
same code between projects, and the Code Snippet makes it easy to do this. To add code to a
project, drag it from the library and drop it in the editor window. You also can view previews of
each snippet by selecting it before dragging. By default, this pane includes a small selection of
standard snippets, but you can extend it indefinitely by adding your own. For more details, see
Chapter 9.
05_9781118007594-ch01.indd 1805_9781118007594-ch01.indd 18 5/17/11 11:45 AM5/17/11 11:45 AM