8. Searching and Replacing

Xcode provides many ways to search and filter project members, source code, and documentation. You briefly scratched the surface of searching your source code with the Search navigator in Chapter 3. In this chapter, you’ll learn how to search and filter project members and how to perform replacements to all or specific parts of your project source.

Using the Search Navigator

As mentioned in Chapter 3, initiating a basic search is simple. Type a term into the familiar search box at the top of the Search navigator and press Return. The results are displayed in the navigator outline (Figure 8.1), organized by source file. Selecting a file or a matching line within a file will cause Xcode to navigate to it in the appropriate ...

Get Mastering Xcode 4: Develop and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.