Implementing the Content Controller
In This Chapter
Working with custom view controllers
Trip model to get data for the view
With the model in place, you can now return to the Content view controller that you add in Chapter 11 and transform its view into the user interface you fell in love with in Chapter 4. In this chapter, you replace the “generic”
UITableViewController supplied by the storyboard with a custom view controller. By doing so, you add the logic to connect the view to the model.
Using Custom View Controllers
The view controller provided by the storyboard is a
UIViewController and is clueless about what you want to display in a view, much less the model it will need to get the data from. In this section, you create ...