21 Collection Views

In this chapter, you will continue working on the Photorama application by displaying 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

Screenshot shows photorama interface with thumbnails of several photographs.

In Chapter 10, you worked with UITableView. Table views are a great way to display and edit a column of information in a hierarchical list. Like a table view, a collection view also displays an ordered collection ...

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