title: UICollectionView does not display the images
body: <p>I am trying to display a collection of horizontally scrollable images with the help of the UICollectionView . I did a custom view controller file for the cell but i still don`t get any images displayed. This is my code in Viewcontroller:</p>
  
  <pre><code>class ViewController: UIViewController , UICollectionViewDelegate , UICollectionViewDataSource{
  
  var imageArray = [UIImage(named:"1"),UIImage(named:"2"),UIImage(named:"3"),UIImage(named:"4"),UIImage(named:"5"),UIImage(named:"6"),UIImage(named:"7"),UIImage(named:"8"),]
  
  override func viewDidLoad() {
      super.viewDidLoad()
      // Do any additional setup after loading the view.
  }
  
  func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -&gt; Int {
      return imageArray.count
  }
  
  func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {
      let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "coffeeImageCollectionViewCell", for: indexPath)   as! coffeeImageCollectionViewCell
      cell.Imgimage.image = imageArray[indexPath.row]
  
      return cell
    }
  }
  </code></pre>
  
  <p>And this is in my custom CollectionViewCell class, to which i linked the image view:</p>
  
  <pre><code>import UIKit
  
   class coffeeImageCollectionViewCell: UICollectionViewCell {
  
  @IBOutlet weak var Imgimage: UIImageView!
  }
  </code></pre>