title: UICollectionViewCell does not have a reuseIdentifier
body: <p>I have an application where I display images in a <code>UICollectionView</code>, the problem I am getting now is whenever I click the button that takes me to the view controller with the <code>UICollectionView</code>, the app crashes with the message:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception
    'NSInternalInconsistencyException', reason: 'the cell returned from
    -collectionView:cellForItemAtIndexPath: does not have a reuseIdentifier - cells must be retrieved by calling
    -dequeueReusableCellWithReuseIdentifier:forIndexPath:'</p>
  </blockquote>
  
  <p>I have the cell intact so I do not know why it is crashing</p>
  
  <pre><code>extension SavedPhotoVC: UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout {
  
      func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {
  
          if let cell = collectionView.dequeueReusableCell(withReuseIdentifier: SAVED_CELL, for: indexPath) as? SavedCell {
  
              let flickerPhoto = itemArray[indexPath.row]
  
              cell.configueCell(flickerPhotoModel: flickerPhoto, index: indexPath.item)
              return cell
          }
          return SavedCell()
      }
  
      func numberOfSections(in collectionView: UICollectionView) -&gt; Int {
          return 1
      }
  
      func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -&gt; Int {
          return itemArray.count
      }
  </code></pre>
  
  <p>Further code can be added on request.</p>