Appendix B. Getting Around in Xcode

Xcode is the integrated development environment (IDE) that Apple uses for developing Mac OS X, iPhone, and iPad 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 iPad applications from the comfort of an intelligent text editor, coupled with many different tools to help debug your iPad 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.

LAUNCHING XCODE

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/Applications/ folder and double-clicking the Xcode icon.

Note

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

Project Types Supported

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

Project Types Supported

As you can see, you have two main project types to create (iPhone OS and Mac OS X). Under the iPhone OS category, you have the Application and Library items.

Figure B.1. FIGURE B-1

Select the Application item, and you ...

Get Beginning iPad™ Application Development 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.