Need help with BouncyLayout?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

roberthein
3.9K Stars 179 Forks MIT License 61 Commits 12 Opened issues

Description

Make. It. Bounce.

Services available

!
?

Need anything else?

Contributors list

# 12,504
flowlay...
swift3
Spring
swift4
42 commits
# 103,595
Swift
flowlay...
swift4
swift3
2 commits
# 146,057
Swift
flowlay...
swift4
swift3
1 commit
# 130,564
Swift
flowlay...
swift4
swift3
1 commit

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
.
swift
import BouncyLayout
swift
let layout = BouncyLayout()
swift
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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.