05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

you except the Applications subdirectory. Everything else is for Xcode’s own use, so, unless<br />

you’ve got some special need, go straight into Applications.<br />

The star of the show is the Xcode Integrated Development Environment, known to its<br />

friends simply as Xcode. Like any star, Xcode brings with it an entourage of supporting players,<br />

some of whom you may never meet, some of whom you will use every day.<br />

If you develop software for the <strong>Mac</strong>, you live in Xcode. It is your editor, compiler, and<br />

debugger all in one. Xcode is built on open source tools, but, like <strong>Mac</strong> <strong>OS</strong> X itself, covers all that<br />

rich chocolate power with an easy-to-use candy shell. Xcode also serves as your project manager<br />

and research assistant, with integrated access to headers and documentation.<br />

Don’t be fooled! This brief description belies just how much Xcode does, and with <strong>Leopard</strong>,<br />

Xcode has been radically improved.<br />

Xcode Preferences<br />

The first time you launch Xcode, you’ll be asked a few questions to set up the environment.<br />

Don’t sweat these too much, as you can always change them in the Preferences window. Indeed,<br />

if you’re like me, going to the preferences is the first thing you do. Do so now by selecting Preferences…<br />

from the application’s menu, or by typing the standard keystroke, Cmd+,. This will<br />

bring up Xcode’s extensive Preferences window, shown in Figure 25-1.<br />

Figure 25-1. The Xcode Preferences window<br />

CHAPTER 25 MAC <strong>OS</strong> X DEVELOPMENT: THE TOOLS 449<br />

Chances are you (or your boss) already has an idea of how things should be set up. Xcode<br />

has a lot of options for making things just so. These are divided into several groups, which scroll<br />

along the top of the window:<br />

General:<br />

• Adjust the positioning and grouping of windows.<br />

• “Automatically clear log,” when checked, clears the console between runs.<br />

Code Sense:<br />

• Code completion is requested with the Esc key, but you can also enable<br />

autocompletion and set the delay.<br />

• Decide whether arguments are shown in suggestions or completions.<br />

• Set the display and sorting of the editor’s function pop-up list.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!