roberthein/BouncyLayout
소개
튕겨 보세요.
웹 및 앱 개발What you can do
- Works with every UICollectionView.
- Horizontal and vertical scrolling support.
- Configurable bounce effect.
- Supports cell size changes
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- +1
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
BouncyLayout is a collection view layout that makes your cells bounce.
Features
- Pure Swift 5.
- Works with every
UICollectionView. - Horizontal and vertical scrolling support.
- Configurable bounce effect.
- Supports cell size changes
Setup
The only you thing you need to do is import BouncyLayout, create an instance and add it to your UICollectionView.
import BouncyLayout
let layout = BouncyLayout()
UICollectionView(frame: .zero, collectionViewLayout: layout)
Find the above displayed examples in the example folder.
Installation
CocoaPods
BouncyLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BouncyLayout"
Carthage
BouncyLayout is available through Carthage. To install it, simply add the following line to your Cartfile:
github "roberthein/BouncyLayout"
Swift Package Manager
BouncyLayout is available through Swift Package Manager. To install
it, in Xcode 11.0 or later select File > Swift Packages > Add Package Dependency... and add BouncyLayout repository URL:
https://github.com/roberthein/BouncyLayout.git
Suggestions or feedback?
Feel free to create a pull request, open an issue or find me on Twitter.
관련 프로젝트 살펴보기
불러오는 중…