BouncyLayout
Make. It. Bounce.
Install / Use
/learn @roberthein/BouncyLayoutREADME

BouncyLayout is a collection view layout that makes your cells bounce.
Features
- [X] Pure Swift 5.
- [X] Works with every
UICollectionView. - [X] Horizontal and vertical scrolling support.
- [X] Configurable bounce effect.
- [X] 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.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
