Skip to Main Content
Beginning iOS 4 Application Development
book

Beginning iOS 4 Application Development

by Wei-Meng Lee
October 2010
Beginner content levelBeginner
655 pages
14h 9m
English
Wrox
Content preview from Beginning iOS 4 Application Development

Chapter 2. Write Your First Hello World! Application

WHAT YOU WILL LEARN IN THIS CHAPTER

  • How to create a new iPhone project

  • Building your first iPhone application using Xcode

  • Designing the user interface (UI) of your iPhone application with Interface Builder

  • How to add an icon to your iPhone application

Now that you have installed the SDK, you are ready to start developing for the iPhone! Programming books customarily start by demonstrating how to develop a "Hello World!" application. This approach enables you to use the various tools quickly without getting bogged down with the details. It also provides you with instant gratification: You see for yourself that things really work, which can be a morale booster that inspires you to learn more.

Getting Started with Xcode

Power up Xcode and you should see the Welcome screen, shown in Figure 2-1.

Note

The easiest way to start Xcode is to type Xcode in Spotlight and then press the Enter key to launch it.

Figure 2-1

Figure 2.1. Figure 2-1

To create a new iPhone project, choose File

Figure 2-1

Although there are quite a few types of iPhone applications you can create, for this chapter select the View-based Application template; and for the product, select iPhone (to target the iPad, select the iPad as the product). Click the Choose... button.

Note

Subsequent chapters show you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning iOS 5 Application Development

Beginning iOS 5 Application Development

Wei-Meng Lee

Publisher Resources

ISBN: 9780470918029Purchase book