Chapter 5. Using collection views
This chapter covers
- Using a collection view to display photos
- Implementing custom collection view cells
- Customizing collection view flow layouts
- Adding a collection view to your Albums app
When you created a table view for your Albums application, you used it to display a list of albums represented as rows. This worked well because you needed to display only an album’s thumbnail and its title beside it. One vital piece that it was missing was the ability to click an album and view all of the photos contained within it. The one thing you’ll need to display for each photo in the album is its thumbnail. You’ll use collection views to display all of the photos within a specific album. By using collection ...