title: Not able to load a collectionview
body: <p>I'm loading a <code>collectionview</code> in my storyboard. But when I run it, it was not showing up. It was then that I figured out that the delegate and datasource was not set. But when I set the delegate &amp; datasource and run again, the program crashes saying <code>'could not dequeue a view of kind: UICollectionElementKindCell with identifier prdImgscellIdentifier - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'</code></p>
  
  <p>It seems I didn't miss anything..but not able to figure out why the crash is happening..</p>
  
  <p>This is my <code>cellForItemAt...</code></p>
  
  <pre><code> func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {
       let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "cell", for: indexPath) as! productImagesCollectionViewCell
  
       cell.myImageView.image = UIImage(named: "appLogo.jpg")
  
       return cell
   }
  </code></pre>