title: Swift UICollectionView with Horizontal Scrolling and Layout Each Section Left to Right on Own Row
body: <p>I would like to have UICollectionView with Horizontal Scrolling and Layout each section on it's own row from left to right.</p>
  
  <p>Currently my CollectionView with Horizontal Scrolling has a vertical layout for each section.</p>
  
  <p><a href="https://i.stack.imgur.com/empoR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/empoR.jpg" alt="current layout"></a></p>
  
  <p>Ideally I would like the following layout with horizontal scrolling:</p>
  
  <p><a href="https://i.stack.imgur.com/tpHKL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tpHKL.png" alt="enter image description here"></a></p>
  
  <p>So my question is how can I have horizontal scrolling on my UICollectionView where each horizontal row from left to right is laid out in one row. (see second diagram) Each section would occupy a different row.  </p>
  
  <p>Also each row should scroll horizontally at the same time (like a spreadsheet).</p>