Chapter 1. Getting Started with iOS 4 Programming


  • How to obtain the iPhone SDK

  • Components included in the iPhone SDK

  • Features of the development tools — Xcode, Interface Builder, iPhone Simulator

  • Capabilities of the iPhone Simulator

  • Architecture of the iPhone OS

  • Characteristics of the iPhone

Welcome to the world of iPhone programming! That you are now holding this book shows that you are fascinated with the idea of developing your own iPhone (and iPad) applications and want to join the ranks of the tens of thousands of developers whose applications are already deployed in the App Store.

As the Chinese adage says, "To accomplish your mission, first sharpen your tools." Successful programming requires that you first know your tools well. Indeed, this couldn't be more true for iPhone programming — you need to know quite a few tools before you can even get started. Hence, this chapter describes the various relevant tools and information you need to jump on the iPhone development bandwagon.

Without further ado, it's time to get down to work.

Obtaining the iPhone SDK

To develop for the iPhone, you first need to sign up as a registered iPhone developer at Registration is free and provides you with access to the iPhone SDK (software development kit) and other resources that are useful for getting started.


At the time of writing, iOS (the iPhone OS) 4 is supported only on the iPhone and the iPod touch. ...

Get Beginning iOS 4 Application Development now with the O’Reilly learning platform.

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