iOS UICollectionView - The Complete Guide, Second Edition by Ash Furrow
At WWDC 2012, Apple unveiled UICollectionView, enabling a new way for
apps to render content to users. Collection views are a content- and layoutagnostic
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
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 included a sample layout that
displays grids, a common request among developers.
How to Use This Book
This book is meant to tell a story; each chapter builds upon the last one to
guide readers through every nook and cranny of UICollectionView. I strongly
encourage readers to read each chapter in sequence and follow along with the
The first chapter makes sure that readers have a common vocabulary when
discussing the organization of code in iOS applications. Even if you’re a
seasoned developer, it’s worth a look just to make sure you’re on the same
page as I am.
The code provided with this book is as valuable as the explanations in the
chapters of why the code is written the way it is.
All of the code that appears in this book can be downloaded at