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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.