title: Horizontal Flow for UICollectionView
body: <p>I want to implement something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/64Kt7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/64Kt7.png" alt="enter image description here"></a></p>
  
  <p>I use a collection view with an horizontal flow and custom cell to set the size (every cell has a different size based on the text). The problem is that the collection view is like a matrix and when there is a small element and a big element on the same column, there will be a bigger space between elements from the same line. 
  Now I have something like this:
  <a href="https://i.stack.imgur.com/HFfrR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HFfrR.png" alt="enter image description here"></a></p>
  
  <p>Is there any solution to do this with collection view? Or should I use scroll view instead? </p>
  
  <p>Thank you!</p>