7. Writing Code with the Source Editor

Xcode’s Source Editor is loaded with features that help you write, navigate, and research code. You’ve already used the Source Editor when working directly in the code. In this chapter, you’ll be introduced to more of its features.

Exploring the Source Editor Interface

The Source Editor (Figure 7.1) appears when you select source code files, when you view issues within source code files, or when you stop at a breakpoint in your own source in the debugger. This is the editor in which you will spend most of your time.

Figure 7.1 The Source Editor

image

Note the gutter that runs along the left edge of the Source Editor. ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.