Chapter    17

Animated and Interactive Collection Views

Combine the flexibility of the collection view with the tactile user interface of iOS devices, and you’ve got a world of interface possibilities to explore. One of the most satisfying approaches from a user interaction perspective is combining collection views with gesture recognizers to build truly interactive interfaces.

So far, you’ve mainly looked at collection views with fairly static layouts, albeit with some scrolling. But UICollectionView is capable of doing much more. It has sophisticated support for reacting to user interaction through gesture; and by using custom layouts, you can bring your collection views to life with animations.

In this chapter, you’ll look first at controlling ...

Get Pro iOS Table Views and Collection Views: Using Swift 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.