title: How do you determine spacing between cells in UICollectionView flowLayout
body: <p>I have a UICollectionView with a flow layout and each cell is a square. How do I determine the spacing between each cells on each row? I can't seem to find the appropriate settings for this. I see there's a min spacing attributes on the nib file for a collection view, but I set this to 0 and the cells doesn't even stick.</p>
  
  <p><img src="https://i.stack.imgur.com/hX7CE.png" alt="enter image description here"></p>
  
  <p>Any other idea?</p>