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

10. Using Collection and Custom Views

In the last chapter you learned about using view controllers and communicating between them. In this chapter you learn how to create interesting layouts using collection views as well as how to create your own custom view. To keep things interesting, you’ll move on from the photo album concept, focusing instead on displaying photos within the prototype app.

Let’s get started with collection views.

Collection Views

A collection view provides a way to display a set of data in a flexible layout. It is similar to a table view in that it manages the presentation and scrolling of the data for you, it uses a data source object to retrieve data, and a delegate object is used for additional configuration. Unlike ...

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