/BouncyLayout

Make. It. Bounce.

Primary LanguageSwiftMIT LicenseMIT

tl;dr Make. It. Bounce.

BouncyLayout is a collection view layout that makes your cells bounce.

Features

  • Works with every UICollectionView.
  • No configuration needed.
  • Horizontal and vertical scrolling support.

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"

Suggestions or feedback?

Feel free to create a pull request, open an issue or find me on Twitter.