WHAT YOU LEARN IN THIS CHAPTER:
- Creating a new project in Xcode
- Exploring Xcode’s layout and editors
- Using Interface Builder to edit Storyboards
- Running your app in the simulator and on a device
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
You can find the wrox.com code downloads for this chapter at www.wrox.com/go/begiosprogramming on the Download Code tab. The code is in the chapter 03 download and individually named according to the names throughout the chapter.
In Chapter 2, “Introduction to Objective-C,” you learned about Objective-C, the language used to write iOS applications. In this chapter you learn about Xcode, the Integrated Development Environment used to actually create an iOS application. Xcode is similar to Microsoft Visual Studio or Eclipse. You start by creating a project; then you edit the code and user interface files within Xcode. It wasn’t always this way. Just a few years ago, Xcode was strictly for code editing while you worked on your User Interface files in Interface Builder. Today Interface Builder is integrated within Xcode to make it more familiar to developers coming from other platforms.
CREATING A NEW APP IN XCODE
Xcode is the IDE for developing both iOS applications as well as Mac OS X desktop applications. To start the Bands app, create a new iOS project in Xcode.