title: UICollectionView Nib - Assertion failure
body: <p>I have a Storyboard with collection view linked to my controller (datasource / delegate linked).
  Appart I have a collectionViewCell XIB.</p>
  
  <p>In my controller I have :</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      collectionView.registerNib(UINib(nibName: "MyXibName", bundle: nil), forCellWithReuseIdentifier: "identifier")
  }
  
  func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -&gt; UICollectionViewCell {
      let cell = collectionView.dequeueReusableCellWithReuseIdentifier("identifier", forIndexPath: indexPath) as! MyXibName
      return cell
  }
  </code></pre>
  
  <p>If I track cell's <code>awakeFromNib</code> I can see iOS triggers it. But I don't now why, on the <code>dequeueReusableCellWithReuseIdentifier</code> I have this assertion failure :</p>
  
  <p><strong>* Assertion failure in -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:]*</strong></p>
  
  <p>If I replace <code>registerNib</code> with <code>registerClass</code> with <code>UICollectionViewCell.self</code> my error disappears.</p>
  
  <p>Any idea ?
  Thx !</p>
  
  <p><strong>edit:</strong></p>
  
  <p>After @Paulw11 advice I designed my cell inside Storyboard and no more problems. But I'm still curious about the original problem ...</p>