Preface

At WWDC 2012, Apple unveiled UICollectionView, enabling a new way for apps to render content to users. Collection views are a content- and layout-agnostic tool for developers to display content in apps. User interfaces created with collection views are some of the most immersive, distinctive interfaces in iOS applications.

However, the power afforded to developers by collection views is balanced by the complexity of using them. As the saying goes, Cocoa makes common things easy and uncommon things possible. UICollectionView embodies this sentiment.

I said earlier that collection views are layout-agnostic, and that’s true: Developers write their own layouts for collection views to use to organize their content on the screen. Luckily, Apple ...

Get iOS UICollectionView: The Complete Guide, Second Edition 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.