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.

Source Trees:<br />

• Source Trees are global directories on your root file system where Xcode will look for<br />

project files and resources.<br />

• Source Trees are managed via the Source Trees preference panel.<br />

SCM:<br />

• SCM stands for source code management, also known as version control.<br />

• If you don’t know what version control is, put this book down and Google it. It will<br />

change your life.<br />

• Xcode supports CVS, Perforce, and Subversion.<br />

• The Repositories tab is where you add your project servers.<br />

• The Options tab contains preferences such as which editor to use for differencing and<br />

whether to autosave.<br />

Documentation:<br />

• Xcode’s documentation system is fantastic, but none of its options are actually on this<br />

panel.<br />

• This panel actually contains the various locations of documentation.<br />

• I can only think of very contrived examples of why you would ever change this.<br />

You might think that the Preferences panel is the only place to set up preferences for Xcode,<br />

but in fact Xcode has hidden preferences all over the place. Some of these are based on scope—<br />

for example, the different project and target settings. Others are based on tradition, such as<br />

right-clicking or Ctrl+clicking the toolbar to edit its configuration.<br />

At the end of the day, while Xcode is much easier to use than traditional command-line<br />

tools, it’s designed to be powerful, efficient, and endlessly configurable. If there’s some way in<br />

which you want to exert your will over Xcode, don’t assume it doesn’t exist just because you<br />

can’t find it. It’s likely it does exist, but is hidden somewhere obscure.<br />

Documentation<br />

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

After setting up Xcode, you’re greeted with the new Welcome to Xcode window, shown in Figure<br />

25-2. Aside from assembling everything you need to start programming with Xcode, the<br />

welcome window uses RSS syndication to deliver up-to-the-minute news and documentation.<br />

This combines the accuracy and timeliness of web-based documentation with the convenience<br />

and accessibility of having the documentation right in Xcode.<br />

Clicking A Quick Tour of Xcode is not only a good way to get acquainted with Xcode, but it’s<br />

also a good way to meet your new best friend, the documentation window, shown in Figure 25-3.<br />

Like much of Xcode 3, this has been radically redesigned in <strong>Leopard</strong>.<br />

There are several ways to get to the documentation window, aside from the Welcome to<br />

Xcode window. When in Xcode’s editor, you can hold Option while double-clicking a term to<br />

automatically search for it in the documentation window.<br />

You can also activate the documentation window by selecting Documentation from the<br />

Help menu. This means you can also launch it from the keyboard by typing Option+Cmd+?.<br />

That doesn’t seem memorable, but it’s really easy to type. Press the adjacent Option and Cmd<br />

buttons with your left hand and the adjacent ? and Shift buttons with your right.

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

Saved successfully!

Ooh no, something went wrong!