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


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

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

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