title: CollectionView Showing Old Data
body: <p>I am running into an issue where I am navigating from one UICollectionView to another upon selection of the cell.</p>
  
  <p>The issue is the flashing of previous data. It only happens when I click "back" on the navigation bar. I have included the code where navigation occurs.</p>
  
  <pre><code>override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
  
      self.selectedIndexPath = indexPath
  
      let vc = self.storyboard?.instantiateViewController(withIdentifier: kSecondVCId) as? SecondCollectionViewController
      self.navigationController?.pushViewController(vc!, animated: true) 
  }
  </code></pre>
  
  <p>The values are stagnant arrays of values in both views.</p>
  
  <p>Video of issue: <a href="https://vimeo.com/263987657" rel="nofollow noreferrer">https://vimeo.com/263987657</a></p>
  
  <p>I am using the following library from <a href="http://github.com/CezaryKopacz/CKWaveCollectionViewTransition" rel="nofollow noreferrer">GitHub</a>, there is an open issue for this but I'm hoping someone will have thoughts on a possible fix.</p>