O'Reilly logo

Learning iPad Programming: A Hands-On Guide to Building iPad Apps, Second Edition by Kirby Turner, Tom Harrington

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

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 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 the text is simple: You set the title ...

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