melissayung / CollectionViewLayouts

Home Page:https://myioscache.wordpress.com/2016/10/23/experimenting-with-the-uicollectionview-flow-layouts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collection View Layouts

This demo showcases the UICollectionView in 3 different layouts

  1. Grid (default) layout with fixed cell size

  2. Grid (default) layout with cell size adapted to the device screen

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