O'Reilly logo

iOS App Development Portable Genius by Richard Wentk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Applications

As you learned in Chapter 2, Xcode is primarily a tool for converting source files—code, media files, design templates (nib files), and other components—into an app package.

Experienced developers can customize the build process almost indefinitely. But newcomers should postpone exploring the more advanced features until they’ve mastered the basics of development. This is easy to do because the essentials of the build process are very simple: Just click the Run button in the main toolbar, and wait a while.

There are some minor details to master, even at the beginner level. Let’s explore them now by creating a very simple app. This app does nothing; it’s a dummy app shell with no working features, but it demonstrates how to convert source files into a working app, and how to run that app in the Simulator.

Creating a new project

To create a new project, follow these steps:

1. Launch Xcode, if it isn’t running already.

2. Select FileNewProject from the main menu.

3. Click the Application item under the iOS header at the top left, as shown in Figure 3.1.

4. Click the Single View Application item near the top right to highlight it. This step selects one of the Application Templates—ready-made starting points for various types of apps. You’ll find more about the templates later in this chapter.

5. Click Next.

6. Type a product name. This name appears under the app when it’s installed on an iOS Device. It’s also used by Xcode as the project name, and it automatically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required