9. Using Table Views

In the last chapter you created a master-detail app using the application template provided by Xcode. While the app is functional, it is not very useful. In this chapter you will start making the app more useful by adding the ability to add, edit, and remove photo albums. You’ll learn how to work with a table view and its data source and how to delegate protocols, create a new view with a controller, and communicate between view controllers.

First Things First

When the app runs and the device orientation is landscape, the word Master is displayed at the top of the master view. The table view represents a list of photo albums, so naming this list “Master” doesn’t really make sense. Changing it is simple: You set the title ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps with iOS 5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.