Chapter 3. Your first app, explained

This chapter covers

  • Xcode templates
  • Understanding single-view applications
  • Using labels
  • The iOS Simulator

In chapter 2, you launched Xcode, created a new project, set your project options, added a label to the app, and ran it in the Simulator for the first time. This chapter will now explain the steps that you took so you’ll understand not only what you did, but why you did it.

3.1. Xcode templates, explained

Starting from the top: when you launched Xcode and clicked File > New > Project, a menu item opened a window of templates. What is a template, anyway? Apple has created the basic structure or guts of several popular types of mobile applications within the Xcode application. Think of it as though ...

Get Anyone Can Create an App: Beginning iPhone and iPad programming now with the O’Reilly learning platform.

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