Chapter 9: Saving Time in Xcode

In This Chapter

Using code folding Editing structure Refactoring code Using code snippets

Many editing operations are repetitive, while others can help you organize your code more effectively to simplify development and maintenance. Xcode 4 includes features that can automate many of these operations, saving you time and effort. The key features include the following:

bl.eps Code folding

bl.eps Structure editing

bl.eps Refactoring

bl.eps Code snippets

bl.eps Jumping to a definition

Using Code Folding

Code folding is a simple feature that can hide code while it isn't being edited. It's a display-only feature that makes it easier for you to concentrate on one section of code without being distracted by surrounding elements.

mac_caution.eps CAUTION

It's easy to activate code folding by accident. If you're not familiar with this feature, you'll wonder why most of your code has disappeared and whether ...

Get Xcode® 4 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.