Adding the Add/View Visual Elements

Select Main_iPhone.storyboard from the list of files in the Project Navigator in Xcode. Xcode opens a Storyboard editor similar to Figure 3-1. The storyboard files were added when Xcode created the project from the Single View project template. As of the release of Xcode used for this book, all project templates except Empty add storyboard files.

Image

Figure 3-1 The Storyboard editor

Looking at the left side of Figure 3-1 just next to the Project Navigator, you can see that the storyboard already contains one scene called View Controller Scene. Again, Xcode created this along with ViewController.m and ViewController.h ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.