CollectionViewCenteredFlowLayout

1.0.2

A layout for UICollectionView that aligns the cells to the center.
Coeur/CollectionViewCenteredFlowLayout

What's New

SPM Support

2020-01-20T09:52:55Z

Thanks to @mohpor, we now have Swift Package Manager support.

UICollectionView Centered Flow Layout

A UICollectionViewLayout implementation that aligns the cells to the center.

Installation with CocoaPods

pod 'CollectionViewCenteredFlowLayout'

Usage

Simply set CollectionViewCenteredFlowLayout as the layout object for your collection view either via Interface Builder.

CollectionViewCenteredFlowLayout is a subclass of UICollectionViewFlowLayout, so your collection view delegate can use all the delegate methods of UICollectionViewDelegateFlowLayout.

License

CollectionViewCenteredFlowLayout is released under the MIT license.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sun Nov 20 2022 23:26:31 GMT-0500 (GMT-05:00)