- Notifications
You must be signed in to change notification settings - Fork197
roberthein/BouncyLayout
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
BouncyLayout is a collection view layout that makes your cells bounce.
- Pure Swift 5.
- Works with every
UICollectionView
. - Horizontal and vertical scrolling support.
- Configurable bounce effect.
- Supports cell size changes
The only you thing you need to do is importBouncyLayout
, create an instance and add it to yourUICollectionView
.
import BouncyLayout
letlayout=BouncyLayout()
UICollectionView(frame:.zero, collectionViewLayout: layout)
BouncyLayout is available throughCocoaPods. To installit, simply add the following line to your Podfile:
pod"BouncyLayout"
BouncyLayout is available throughCarthage. To installit, simply add the following line to your Cartfile:
github "roberthein/BouncyLayout"
BouncyLayout is available throughSwift Package Manager. To installit, in Xcode 11.0 or later selectFile
>Swift Packages
>Add Package Dependency...
and add BouncyLayout repository URL:
https://github.com/roberthein/BouncyLayout.git
Feel free to create a pull request, open an issue or find meon Twitter.