2
Your First Program

Now that we know how this book is organized, it’s time to see how programming for the Mac and for iPhone and iPad works. To do that, you will

  • install Apple’s Developer Tools

  • create a simple project using those tools

  • explore how these tools are used to make sure our project works

At the end of this chapter, you will have successfully written your first program for the Mac.

Installing Apple’s developer tools

To write applications for Mac OS X (the Macintosh) or iOS (the iPhone and iPad), you will be using Apple’s developer tools. You can download these tools from http://developer.apple.com/ or purchase them from the Mac App Store.

After you’ve installed the tools, find the /Developer folder at the root level of your hard drive. This folder contains what you need to develop applications for Mac OS X desktops and iOS mobile devices.

Our work in this book is going to be conducted almost entirely with one application – Xcode, which is found in the /Developer/Applications folder. (It is a good idea to drag the Xcode icon over to the dock; you’ll be using it an awful lot.)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset