TeehanLax / UICollectionView-Spring-Demo

A demonstration of UICollectionView and UIKit Dynamics
MIT License
473 stars 71 forks source link

Horizontal Layout & Storyboard Support #8

Closed Sam-Spencer closed 10 years ago

Sam-Spencer commented 10 years ago

Added support for UICollectionViews which scroll horizontally instead of vertically. Now TLSpringFlowLayout will animate and properly layout both vertical and horizontal collection views.

Improved init methods to support initialization from either a Storyboard (initWithCoder:) or directly from code (init). Both methods call a common setup method.

Attempted to fix issue #5 by adding the prepareForCollectionViewUpdates: method.

Added a storyboard to the demo project.

Updated details in the Readme.md file.

ashfurrow commented 10 years ago

Looks great, thanks for doing this! Just a few questions I have above.

Sam-Spencer commented 10 years ago

@AshFurrow I fixed the issue with the loading of the collection view's cells. I also changed the tint color of the app to match Teehan+Lax's colors (or close to it). See commit 161a427 and commit db6e96b.

ashfurrow commented 10 years ago

:beers: