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.
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 in rows, the collection view has a layout object that drives the display of information. You will use a built-in layout object, the UICollectionViewFlowLayout, to present the interesting photos in a scrollable grid.
3.129.39.252