CenteredCollectionView is a lightweight drop in place
UICollectionViewFlowLayout that pages and keeps its cells centered, resulting in the "carousel effect"
To try the example using Cocoapods:
pod try CenteredCollectionView
This pod requires a deployment target of iOS 9.0 or greater
To install it with Swift Package Manager, add the URL
https://github.com/BenEmdon/CenteredCollectionView in Xcode Add Package Dependency assistant ; or add to your own
dependencies: [ .package(url: "https://github.com/BenEmdon/CenteredCollectionView", from: "2.2.2") ]
To install it with Cocoapods, add the following line to your
To install it with Carthage, add the following line to your
Have a suggestion? All contributions are welcome!
If you make a pull request or an issue, you're likely to get a swift response!
CenteredCollectionView is available under the MIT license. See the LICENSE file for more info.