BouncyLayout is a collection view layout that makes your cells bounce.
- Pure Swift 5.
- Works with every
- Horizontal and vertical scrolling support.
- Configurable bounce effect.
- Supports cell size changes
The only you thing you need to do is import
BouncyLayout, create an instance and add it to your
let layout = BouncyLayout()
UICollectionView(frame: .zero, collectionViewLayout: layout)
Find the above displayed examples in the
BouncyLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:
BouncyLayout is available through Carthage. To install it, simply add the following line to your Cartfile:
Swift Package Manager
BouncyLayout is available through Swift Package Manager. To install it, in Xcode 11.0 or later select
Swift Packages >
Add Package Dependency... and add BouncyLayout repository URL:
Suggestions or feedback?
Feel free to create a pull request, open an issue or find me on Twitter.