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

globoi/GloboCollectionViewCenteredFlowLayout

This branch is 1 commit behind Coeur/CollectionViewCenteredFlowLayout:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

420df83 · Aug 4, 2022

History

17 Commits
Aug 4, 2022
Aug 4, 2022
Jan 28, 2019
Aug 4, 2022
Aug 4, 2022
May 27, 2017
Jan 20, 2020
Jun 10, 2022
May 27, 2017
May 25, 2017

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

Packages

No packages published

Languages

  • Swift 90.0%
  • Ruby 10.0%