O'Reilly logo

Xcode 4 Cookbook by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Books Library user interface

In this recipe we will learn how to build the user interface for our Books Library project, as well as creating a custom table view controller to act as the data source.

Getting ready…

In this section, we will start by building the components that will comprise of our user interface for our application.

How to do it...

To begin, follow these simple steps as outlined in the following order:

  1. From the Project Navigator window, select the file named MainStoryboard.storyboard.
  2. From the Object library, select and drag a new (UITableViewController) Table ViewController control, and add this to the view.
  3. Next, select the UITableViewController control that we just added, and then choose Editor | Embed In | Navigation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required