title: UICollectionView display 3 items per row
body: <p>I have a UICollectionView created from storyboard,</p>
  
  <p>I want to have 3 items per row in the view. I managed to do that using the following:</p>
  
  <pre><code>    - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
  {
      return CGSizeMake(collectionView.frame.size.width/3.6 , (collectionView.frame.size.height-100)/2);
  }
  </code></pre>
  
  <p>However, if i have 6 items, i got 2 rows with 3 items each.
  But when i have 4 items, it will display  2 rows with 2 items each.</p>
  
  <p>Is it possible to display them in 2 rows, the first with 3 items and the second contains only 1?</p>