Information Technology Reference
In-Depth Information
2. The Symbol Navigator
3. The Search Navigator
4. The Issue Navigator
5. The Debug Navigator
6. The Breakpoint Navigator
7. The Log Navigator
CAUTION
With a couple of exceptions, the images on these icons are perhaps best described as “abstract”; they're not a
good guide to the features they select. The best way to learn what they do is to experiment with them.
The Project Navigator
If you have experience of Xcode 3, you'll recognize this as the old Groups & Files pane. It lists the files and oth-
er resources used in a project. When you select a file that Xcode can edit, its contents are automatically loaded
into the editor area. If Xcode can't edit it—for example, if it's an image file, or a font—the editor area shows a
preview.
The file list in this navigator looks like a Finder directory listing. But this is misleading. The “folders” that ap-
pear here are called groups. They don't exist on disk. You can use groups to collect related items together. The
default list of groups for a project includes Class, Other Sources, Resources, and Frameworks, but you can cre-
ate new groups of your own and organize the files in your project using any system that works well for you.
To add a new group, right-click in the navigator area and select New Group from the menu that appears, as
shown in Figure 4.4. You also can rearrange the order of both groups and files by dragging them to a different
position in the list.
FIGURE 4.4
When you create a new group, it is always added to the next highest level in the group tree.
Search WWH ::




Custom Search