Being able to find information—both knowing how to leverage the user interface to locate items in a project, as well as knowing how to find information about your project—is critical to working effectively in Xcode.
The Xcode user interface gives you many ways to locate project information and items. “Managing Your Workspace” describes the common paradigms of the Xcode user interface that let you find and manage project contents, including the Groups & Files list, which lets you organize and access the items in your project in an outline view, and the detail view, which lets you quickly filter your project contents. In addition, the Activity Viewer window lets you see additional information on Xcode operations, while the Info window and the inspector let you examine and modify items in your project.
Xcode also maintains a great deal of information about your project’s contents, which it uses to assist you in the development process. The Xcode feature called Code Sense maintains an index that contains symbolic information for your project; Xcode uses this information as the basis for a number of features that let you browse the symbols in your project, view the class hierarchy of projects that use an object-oriented programming language, and search your project for symbol definitions.
This chapter describes how to use Xcode to find information about your project’s contents. It covers:
Searching your project for text, symbols, or using regular expressions
Using the Project Symbols smart group to find information on the symbols in your project
Viewing classes and class members for projects that include object-oriented code, using the class browser
Searching in a Project
Viewing Project Symbols and Classes
Last updated: 2008-07-08