title: How to center the first and the last cell of a horizontal UICollectionView?
body: <p>I'm trying to center the first and the last cell of a <strong>horizontal collection view</strong>.
  <br><br>
  The only approach i found until now was adding extra cells at the begin and the end of my <code>UICollectionView</code>. This method was totally a bad idea for obvious reasons but I didn't find a better way to do it for now. And since, with the iPhone 6 and the iPhone 6+, the layout of my view is totally broken... (facepalm)<br><br>
  To illustrate my need I need to display something like this : </p>
  
  <pre><code>|        x x x x x|  where the first x represent my first cell
  
  and
  
  |x x x x x        |  where the last x represent my last cell
  </code></pre>
  
  <p><br>
  I think using a <code>UICollectionViewFlowLayout</code> subclass is the proper way to do that with <code>contentInset</code> stuff but I'm a total newbie with these components. <br>Any links or suggestions on how to achieve this ?</p>