shaps80/flowlayout
A high-performance flow layout that provides global headers, footers, section backgrounds and various configurations.
Changelog
Release 2.0.0
FlowLayoutDelegatehas completely new function signatures, so please ensure you've updated all of your implementations to use the correct signature otherwise your layout will not behave correctly.
Added
// Replaces `backgroundLayoutRegion(in:forSectionAt: Int) -> LayoutRegion`
func collectionView(_ collectionView: UICollectionView,
layout: UICollectionViewLayout,
regionForBackgroundInSection section: Int) -> LayoutRegion
// Replaces `backgroundLayoutInsets(in:forSectionAt: Int) -> UIEdgeInsets`
func collectionView(_ collectionView: UICollectionView,
layout: UICollectionViewLayout,
insetsForBackgroundInSection section: Int) -> UIEdgeInsets
// Allows you to 'align' cells within a specified section
func collectionView(_ collectionView: UICollectionView,
layout: UICollectionViewLayout,
alignmentInSection section: Int) -> LayoutAlignmentDeprecated
func backgroundLayoutRegion(in:forSectionAt: Int) -> LayoutRegion
func backgroundLayoutInsets(in:forSectionAt: Int) -> UIEdgeInsetsPackage Metadata
Repository: shaps80/flowlayout
Default branch: master
README: README.md