Chapter 1. Getting Started

This chapter serves as a quick introduction to the tools bundled with the SDK. It also shows you basic development steps that include coding, UI design, and debugging. You do not have to understand everything in this chapter as we will go over these concepts throughout the book. What you need to get from this chapter is a feeling of iPhone development using XCode.

We start with some basics of the XCode IDE in Section 1.1. Next, Section 1.2 talks about the UI design tool Interface Builder. After that, we show you how to use the built-in debugger in XCode in Section 1.3. Next, Section 1.4 shows you different sources of information for obtaining additional help. Finally, we summarize the chapter in Section 1.5.

SDK and IDE Basics

In this section, we walk you through the process of creating your first iPhone application. But first, you need to obtain the iPhone SDK and install it on your Mac.

Obtaining and installing the SDK

Obtaining and installing the iPhone SDK is easy; just follow these steps:

  1. Get your iPhone developer Apple ID and password from: http://developer.apple.com/iphone/

  2. Download the latest iPhone SDK for iPhone OS from the site mentioned above.

  3. Install the iPhone SDK on your Intel-based Mac.

Now, you're ready to create your first project – read on!

Creating a project

Locate XCode and launch it. You can use Spotlight to find it or you can navigate to /Developer/Applications/XCode. XCode is the central application for writing, designing, debugging, and deploying ...

Get iPhone SDK 3 Programming: Advanced Mobile Development for Apple iPhone and iPod touch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.