2
Your First Program

Now that you know how this book is organized, it is time to see how programming for the Mac and for iOS devices 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 your 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 OS X (the Mac) or iOS (the iPhone and friends), you will be using Apple’s developer tools. The main application that you will need is called Xcode.

Xcode is only available on the Mac (not Windows or Linux), so you will need a Mac to work with this book. In addition, this book is based on Xcode 5, which is compatible with OS X 10.8 (Mountain Lion) and higher.

You can download the latest version of Xcode for free from the Mac App Store. You may want to drag the Xcode icon onto your Dock; you will 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