Adding the DetailController

Goal: Create the DetailController.xib.

  1. In the SUP101 Xcode project, select File > New File.
  2. Select Cocoa Touch Class, UIViewController subclass, and With XIB for user interface. Then click Next.

    iPhone_new_uiviewcontroller

    The "With XIB for user interface" option creates a NextStep Interface Builder (nib) file to go with the view controller and adds it to the SUP101 Xcode project.

  3. In the next window, in File Name, enter DetailController.m, ensure that Also create DetailController.h is selected, and click Finish.
    The new source files contain stub implementations of various methods.
Related tasks
Adding the SubscribeController View Controller
Adding the CustomerListController