This demo showcases the UICollectionView in 3 different layouts
-
Grid (default) layout with fixed cell size
-
Grid (default) layout with cell size adapted to the device screen
-
Custom waterfall layout with content aware self sizing cells
| | |
:----:|:----:|:--- | | ![] (https://github.com/melissayung/CollectionViewLayouts/blob/master/CollectionViewLayouts/Screenshots/Waterfall-Content-Aware-SelfSizing-Cells.png)
Accompanying blog post: https://myioscache.wordpress.com/2016/10/23/experimenting-with-the-uicollectionview-flow-layouts/