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 ...
Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.