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 ...

Get iPhone and iPad Apps for Absolute Beginners, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.