title: UICollectionView - custom calendar swipe through month / years
body: <p>I'm programming a simple custom calendar. I'm using a <code>collectionView</code> with the <code>UICollectionViewFlowLayout</code>.</p>
  
  <p>At the moment I have a <code>collectionView</code> holding 12 cells. Each cell is maximized to the size of the <code>collectionView</code> width and height, every cell contains and owns <code>collectionView</code> and is loading a specific month.</p>
  
  <p>As an example cell 1 is holding January, cell 2 is holding February and they displaying these months with and own <code>collectionView</code>.</p>
  
  <p>All is working fine and smooth, but I need to change the years. So if the user goes to the last cell (December) as an example, he should continuously scroll while the year is changing.</p>
  
  <p>Or if the user is going backward and wants to go in the past, it should scroll continuously while changing the year from 2020 to 2019. Hopefully, I explained it understandable.</p>
  
  <p><a href="https://i.stack.imgur.com/rNc1M.gif" rel="nofollow noreferrer">My calendar right now (gif)</a></p>