title: UICollectionView Spring Flow Layout with UIDynamics: minimum space between cells
body: <p>Im trying to get this effect: <a href="http://cl.ly/0W2B2k0a3l2H" rel="nofollow">http://cl.ly/0W2B2k0a3l2H</a></p>
  
  <p>Im using this code, conferring a spring effect with <code>UIAttachmentBehavior</code>: <a href="https://github.com/noiis/SpringFlowLayout/blob/master/SpringFlowLayout.swift" rel="nofollow">https://github.com/noiis/SpringFlowLayout/blob/master/SpringFlowLayout.swift</a></p>
  
  <p>Despite the effects are similar, there are some differences that I would like to cover. The primary is to maintain the <strong>minimum space between cells</strong>, tried in every way but could not get it. </p>
  
  <p>I thought <code>UIGravityBehavior</code> might work better, but received several warnings from XCode against implementing different UIGravityBehaviors to many items.</p>