O'Reilly logo

iPhone Application Development for iOS 4: Visual QuickStart Guide by Duncan Campbell

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

5. Tabs and Tables

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

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