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 ...