O'Reilly logo

iOS UICollectionView: The Complete Guide 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

6. Adding Interactivity to UICollectionView

So far, this book has concentrated on every aspect of collection views except interactivity. With the exception of some basic copy/paste support provided to you by UICollectionViewDelegate, the book has not focused on how the user interacts with the collection view beyond basic content offset changes. Sure, you’ve changed layouts in response to user interaction, but that’s not what I mean. I’m talking about how you can add interactivity directly to the collection view and how you can make truly immersive interfaces. The answer is gesture recognizers, which are the main focus of this chapter.

This chapter takes a look back at four code examples and augments them with new user interactivity. This is the ...

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