3. Contextualizing Content

Displaying content to users with basic cells lets developers show off some very spartan content. You can use supplementary views to spice things up. First, this chapter looks at some new delegate methods to customize the layout of individual cells within the collection view. Then, you apply the techniques and practices you read about in Chapter 2, “Displaying Content Using UICollectionView,” to contextualize your content for your users. The chapter-long case study is called “Survey” in the sample code.

Supplementary Views

Supplementary views are views that scroll with the cells of a collection view and display some kind of information about the data of that collection. These are “data-driven” views, which stand in ...

Get iOS UICollectionView: The Complete Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.