Build a scrolling photo gallery with UICollectionViewFlowLayout
UICollectionView
was introduced in iOS 6 to display the content in a much more flexible way. Compared to UITableView
, not only does UICollectionView
provide simliar interfaces of dataSource
and delegate
to configure its layout, but there are much more customization options to go beyond the list or grid view thanks to UICollectionViewFlowLayout. The possible visual effect is only limited by a developer’s artistic imagination and quantitative reasoning.