An Additional UIViewController

To see the real power of UINavigationController, you need another UIViewController to put on the navigation controller’s stack. Create a new UIViewController subclass (FileNewNew File...). Choose the UIViewController subclass template. When prompted, check the box With XIB for user interface (Figure 12.10). Save this class as ItemDetailViewController.

Figure 12.10  View controller with XIB subclass

View controller with XIB subclass

In ItemDetailViewController.m, delete all of the code between the @implementation and @end directives.

In Homepwner, we want the user to be able to tap a possession to get another screen with editable text fields ...

Get iOS Programming: The Big Nerd Ranch Guide, Second 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.