title: Cell not displayed in collection view instantiated from storyboard (not embedded)
body: <p>In the below scenario, I cannot get even the cell background (black) to show.</p>
  
  <p>In a storyboard, I've a container with an embedded custom UICollectionView with a custom UICollectionViewCell with an image view as an outlet. In another View Controller, I've inserted a container where I want the same collection view and cell.</p>
  
  <p><a href="https://i.stack.imgur.com/q4nRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q4nRh.png" alt="storyboard"></a></p>
  
  <p>I seem to be able to instantiate the custom collection view and the cell (both print to console and don't return nil). The following code prints as below.</p>
  
  <pre><code>override func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -&gt; UICollectionViewCell
  {
      print("into the collectionView")
      let cell = collectionView.dequeueReusableCellWithReuseIdentifier("photoCell" , forIndexPath: indexPath) as! PhotoCollectionViewCell
  
      cell.backgroundColor = UIColor.blackColor()
      let myRect = CGRect(x: 0, y: 0, width: 78, height: 78)
      cell.frame = myRect
  
      cell.autoresizesSubviews = false
  
      if let imageForCell = images?[indexPath.row]
      {
          cell.cellImageView.image = imageForCell
          print("cell image \(cell.cellImageView.image)")
      }
      print(cell.cellImageView?.bounds.size)
      cell.cellImageView?.layer.borderWidth = 1.0
      cell.cellImageView?.layer.borderColor = UIColor.blackColor().CGColor
  
      return cell
  }
  </code></pre>
  
  <p>into the collectionView</p>
  
  <p>cell image Optional(, {320, 213})</p>
  
  <p>Optional((78.0, 78.0))</p>
  
  <p>I've tried every suggested solution, but can't get the cell to show within the collection view.</p>