Swiftpack.co - Coeur/CollectionViewCenteredFlowLayout as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Coeur.
Coeur/CollectionViewCenteredFlowLayout 1.0.5
A layout for UICollectionView that aligns the cells to the center.
⭐️ 108
🕓 37 weeks ago
.package(url: "https://github.com/Coeur/CollectionViewCenteredFlowLayout.git", from: "1.0.5")

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.

GitHub

link
Stars: 108
Last commit: 37 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

SPM Support
4 years ago

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

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics