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.3
A layout for UICollectionView that aligns the cells to the center.
⭐️ 89
🕓 2 weeks ago
.package(url: "https://github.com/Coeur/CollectionViewCenteredFlowLayout.git", from: "1.0.3")

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: 89
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

SPM Support
2 years ago

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

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