A spring-like collection view layout. The same effect like iOS7's Message.app
A spring-like collection view layout. The same effect like iOS7’s Message.app.
Copy files under VVSpringCollectionViewFlowLayout
to your project and then init or set a collection view with VVSpringCollectionViewFlowLayout
instance.
VVSpringCollectionViewFlowLayout *layout = [[VVSpringCollectionViewFlowLayout alloc] init];
UICollectionView *collectionView = [[UICollectionView alloc] initWithFrame:self.view.frame collectionViewLayout:layout];
See more in the demo.
This project is for my blog post: http://onevcat.com/2013/09/spring-list-like-ios7-message