Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A demonstration of UICollectionView and UIKit Dynamics
Objective-C
branch: master

Merge pull request #9 from odyth/master

crash on insert, disappearing header / footer
latest commit 565d65e849
Ash Furrow ashfurrow authored

README.md

UICollectionView-Spring-Demo

A demonstration of UICollectionView and UIKit Dynamics. Uses tiling in order to maintain high-performance even with ten thousand cells.

Demo

Animation

Usage

To use this in your project, just add the TLSpringFlowLayout classes. Then create a UICollectionView (either with code or in a Storyboard). Set the UICollectionView's Flow Layout object to TLSpringFlowLayout.

Extra Goodies

If you setup your collection with code, you can set the scrollResistanceFactor property. This property increases the bounciness of the collection items as they scroll.

You can also retrieve the dynamicAnimator property (read-only) if necessary.

License

MIT License. Copyright (c) 2013 Teehan+Lax. See the LICENSE file for more information.

Created by Teehan+Lax. Updated by Sam Spencer on February 8, 2014.

Something went wrong with that request. Please try again.