Chapter     2

Your First iOS Apps

The first app you’ll build is a basic “Hello, World” app where, despite the simplicity of the app, you’ll implement some of the functionality that is found in more advanced applications, including taking user input and having your code update the user interface as a result. By the time you finish this chapter, you’ll know how to run the app in the following three ways:

  • iPhone app on iPhone simulator: This shows you how to run an iPhone app in the iPhone aspect ratio on an iPhone-sized emulator.
  • iPhone app on iPad simulator: iPhone applications can be run on iPads too, with a special “2x” mode that enlarges the user interface to make it fit the screen. You’ll see how to test your iPhone app with the iPad simulator ...

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.