O'Reilly logo

Learning Objective-C by Developing iPhone Games by Amy M. Booker, Joseph D. Walters

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

Hello World!

Just so we don't break too far from tradition, we are going to create the standard Hello World! program for our first iPhone app. This can be accomplished using Xcode with no programming whatsoever. Sounds odd, I know, but it really works in the Xcode IDE.

Let's go back to the steps we took in the section Opening Xcode for the first time in the previous chapter. We stopped once the project was created, so let's continue it now. Hit the Run button and it will load up your simulator and run your app, but notice it is only a blank white screen. Although it really doesn't look like much of an app, it is your first iPhone app. Hooray for you! To make it a bit more interesting, let's add in a text string that says Hello World!.

First, allow ...

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