O'Reilly logo

iPhone and iPad Apps for Absolute Beginners, Fourth Edition by Laurence Moroney, Rory Lewis

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

Chapter     4

Your Second iOS App

Now that you’ve gotten your feet wet from programming your first two iPhone and iPad apps and running them not only on the simulator, but also on real hardware, the next step is to build some more apps that are a little more sophisticated.

The third “Hello, World!” app introduces you to some more user interaction, as well as if-else statements in code. Objective-C is a sophisticated and complex language, so we are going to take you through this little by little without throwing too many complex concepts at you.

Creating the Project and Adding a Graphic

In Chapter 2, you wrote helloWorld_01 as an iPhone app and helloWorld_02 as an iPad app. These were single view apps that housed a button, and when the user pressed ...

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