O'Reilly logo

Xcode® 4 by Richard Wentk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required