At the core of most iPhone applications, the view controller classes allow you to manage the visual elements that make up your application’s interface in a consistent fashion while eliminating redundant code. View controllers are the C in the MVC design pattern, providing the layer between your data model and your user interface.
In this chapter, you’ll see how to work with these classes. You’ll start by looking at the base
UIViewController class from which the other view controller classes inherit and see how it provides a lot of the core functionality required by any iPhone application. Then you’ll see how you can add a tab-based interface using the