Skip to content

A layout for UICollectionView that aligns the cells to the center.

License

Notifications You must be signed in to change notification settings

ChessCom/CollectionViewCenteredFlowLayout

 
 

Repository files navigation

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.

About

A layout for UICollectionView that aligns the cells to the center.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 90.1%
  • Ruby 9.9%