gleue / TGLStackedViewController

A stacked view layout with gesture-based reordering using a UICollectionView -- inspired by Passbook and Reminders apps.
MIT License
1.21k stars 117 forks source link

Embed in ViewController #14

Closed chetem closed 10 years ago

chetem commented 10 years ago

Is there anyway to use this class in a UIViewController? It looks like it's only built to be used as a subclass of a UICollectionViewController. I was hoping to use it as a collectionview inside of my UIViewController subclass with that subclass set as the delegate/datasource

gleue commented 10 years ago

Why not subclass your view controller from TGLStackedViewController instead of UIViewController?