objective-ciosuitableviewgridviewepg

itunes movie trailers gridview


I'm trying to reproduce a gridview for a landscape only iPad app.

I've tried a few know Gridviews such as AQGridview or GMGridView but it doesn't fit since it's not a "traditional" gridview (it is for an epg so the elements are not of the same size - depending on their duration).

What I would like to achieve should be more like the iTunes Movie Trailers app.

I was wondering if you know any library (free & open source, if possible) that could help me to achieve this.

Last one I've seen is NGVaryingGridView which sounds promising but it doesn't seem to be optimized (try to rotate it just for fun).

Thanks in advance for any advice.


Solution

  • Since iOS 6, Apple added UICollectionView. Using a UIFlowLayout you can do exactly what you want. It's pretty neat. The only downside is that it's not available in iOS 5.