Appendix B. Getting Around in Xcode

Xcode is the Integrated Development Environment (IDE) that Apple uses for developing Mac OS X and iPhone applications. It is a suite of applications that includes a set of compilers, documentation, and Interface Builder (discussed in Appendix C).

Using Xcode, you can build your iPhone applications from the comfort of an intelligent text editor, coupled with many different tools to help debug your iPhone applications. If you are new to Xcode, this appendix can serve as a useful guide to get you started quickly. Appendix C covers the Interface Builder in more detail.


The easiest way to launch Xcode is to type Xcode in the textbox of Spotlight. Alternatively, you can launch Xcode by navigating to the \Developer\iPhone OS <version_no>\Applications\ folder and double-clicking the Xcode icon.


For convenience, you can also drag the Xcode icon to the Dock so that in future you can launch it directly from the Dock.

At the time of writing, the version of Xcode available is version 3.1.

Project Types Supported

Xcode supports the building of iPhone and Mac OS X applications. When you create a new project in Xcode (which you do by choosing File

Project Types Supported
Figure B-1

Figure B.1. Figure B-1

As you can see, you have two main project types to create (iPhone OS and Mac OS X). ...

Get Beginning iPhone® SDK Programming with Objective-C® 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.