21 Collection Views

In this chapter, you will continue working on the Photorama application to display the interesting Flickr photos in a grid using the UICollectionView class. This chapter will also reinforce the data source design pattern that you used in previous chapters. Figure 21.1 shows you what the application will look like at the end of this chapter.

Figure 21.1  Photorama with a collection view

Photorama with a collection view

In Chapter 9, you worked with UITableView. Table views are a great way to display rows of data. Like a table view, a collection view also displays an ordered collection of items, but instead of displaying the information ...

Get iOS Programming: The Big Nerd Ranch Guide, 7th 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.