title: View with continuous scroll; both horizontal and vertical
body: <p>I have been struggling with this assignment for quite some time now. What I would like to develop is a scrollview or collectionview which scrolls continuously both vertical and horizontal.</p>
  
  <p>Here is an image of how I think this should look like. The transparent boxes are the views/cells which are re-loaded from the memory. As soon as a view/cell gets outside of the screen, it should be reused for upcoming new cell.. just like how a <code>UITableViewController</code> works.</p>
  
  <p><img src="https://i.stack.imgur.com/XVwS6.png" alt="Continuous scroll"></p>
  
  <p>I know that a <code>UICollectionView</code> can only be made to infinite scroll horizontal OR vertical, not both. However, I don't know how to do this using a <code>UIScrollView</code>.
  I tried the code <a href="https://stackoverflow.com/a/13700334/406677">attached to an answer on this question</a> and I can get it to re-create views (e.g. % 20) but that's not really what I need.. besides, its not continuous.</p>
  
  <p>I know it is possible, because the HBO Go app does this.. I want exactly the same functionality.</p>
  
  <p>My Question: How can I achieve my goal? Are there any guides/tutorials that can show me how? I can't find any.</p>