Chapter 3. Using Xcode

This chapter covers

  • Learning how Xcode works
  • Writing a simple Hello, World! program for the iPhone
  • Writing a simple Hello, World! program for the iPad
  • Creating new classes

Now that you’ve learned a bit about the puzzle pieces needed to build an SDK program, you’re ready to start programming. The main purpose of this chapter is to show you how Xcode, the SDK’s main development environment, works. Via a traditional Hello, World! program, we look at the parts of a standard SDK program. You’ll build it first for the iPhone and then build it again for the iPad so you can see how to construct a basic application for either device. We also examine how to create new classes of objects; and with that under your belt, we finish ...

Get iPhone and iPad in Action 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.