2. Building Your First Project

Xcode and Interface Builder help you craft applications for the iPhone SDK. This chapter introduces you to the basics of using these tools in your projects. You see how to build a simple Hello World project, compile and test it in the simulator, and then learn how to compile for and deploy to the device. You also discover some basic debugging tools and walk through their use as well as pick up some tips about handy compiler directives. This chapter also looks at how to submit to App Store and distribute via ad hoc. By the time you finish this chapter, you’ll have followed the application creation progress from start to finish and learned valuable tricks along the way.

Creating New Projects

If diving into SDK programming ...

Get The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition now with O’Reilly online learning.

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