O'Reilly logo

iOS UICollectionView: The Complete Guide, Second Edition by Ash Furrow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Contextualizing Content

Displaying content to users with basic cells lets developers show off some spartan content. We can use supplementary views to spice things up. First, we look at some new delegate methods to customize the layout of individual cells within the collection view. Then, we apply the techniques and practices we learned in the preceding chapter to contextualize our content for our users. We do this with a chapter-long case study, which 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 contrast to the decoration views we explore ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required