title: UICollectionView - order cells horizontally
body: <p>So basically my problem is that my uicollectionview's cells are ordered from top to bottom, rather than from left to right.</p>
  
  <pre><code>This is what it looks like -
  [1][4][7]
  [2][5][8]
  [3][6][9]
  
  This is what i want -
  [1][2][3]
  [4][5][6]
  [7][8][9]
  </code></pre>
  
  <p>Another problem is when i scroll horizontally instead of moving the page a full 320points. It only moves enough to fit the next cell in the view.</p>
  
  <pre><code>this is what it looks like -
      [2][3][10]
      [5][6][  ]
      [8][9][  ]
  
  this is what i want -
      [10][ ][ ]
      [  ][ ][ ]
      [  ][ ][ ]
  </code></pre>
  
  <p>I was hoping rendering it horizontally would fix it though. I'm still new to ios so please show me how to do it, all the tuts i searched are not for my exact problem or is outdated. </p>