title: UICollectionView horizontal paging - can I use Flow Layout?
body: <p>This is related to but distinct from <a href="https://stackoverflow.com/questions/15136063/to-use-flow-layout-or-to-customize">To use Flow Layout, or to Customize?</a>.</p>
  
  <p>Here is an illustration of what I’m trying to do:
  <img src="https://i.stack.imgur.com/R0Qbh.png" alt="Illustration of what I’m trying to do"></p>
  
  <p>I’m wondering if I can do this with a <code>UICollectionViewFlowLayout</code>, a subclass thereof, or if I need to create a completely custom layout? Based on the WWDC 2012 videos on UICollectionView, it appears that if you use Flow Layout with vertical scrolling, your layout lines are horizontal, and if you scroll horizontally, your layout lines are vertical. I want horizontal layout lines in a horizontally-scrolling collection view.</p>
  
  <p>I also don’t have any inherent sections in my model - this is just a single set of items. I could group them into sections, but the collection view is resizable, so the number of items that can fit on a page would change sometimes, and it seems like the choice of which page each item goes on is better left to the layout than to the model if I don’t have any meaningful sections.</p>
  
  <p>So, can I do this with Flow Layout, or do I need to create a custom layout?</p>