title: Designing UICollectionView cells in nib with Interface Builder (without storyboard)
body: <p>I am trying to design a custom <code>UICollectionViewCell</code> prototype (in Xcode 5.0.2), however Interface Builder doesn't let me add a cell to my <code>UICollectionView</code> while designing a nib. I can set the number of items (cells) and Interface Builder creates and displays cells perfectly if I'm using storyboard, but I can't add a cell to my collection view in a nib. I've tried:</p>
  
  <ul>
  <li>Drag and dropping collection view cell into collection view manually from the object library. (fails: doesn't let me drop the cell anywhere in my view)</li>
  <li>Creating my collection view with cells in storyboard and copy-pasting the whole view into nib. (fails: collection view is copied but the cell is gone)</li>
  <li>Creating my collection view with cells in storyboard, opening the storyboard as source code, finding my collection view cells, copying the relevant XML, opening my nib as source code, pasting it inside my collection view in XML. (fails: unable to open the nib in Interface Builder, it gives errors. When I remove the cell from source code, it opens again. Do <em>not</em> try this if you don't know what you are doing.)</li>
  </ul>
  
  <p>I've also seen several questions about the same issue:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/8100247/is-it-possible-to-create-prototype-cells-in-interface-builder-without-story-boar">Is it possible to create prototype cells in Interface Builder without story boards?</a></li>
  <li><a href="https://stackoverflow.com/questions/19002793/custom-header-in-uicollectionview-with-interface-builder-without-storyboard">Custom Header in UICollectionView with Interface Builder without Storyboard</a></li>
  <li><a href="https://stackoverflow.com/questions/8574188/prototype-cells-in-a-nib-instead-of-a-storyboard">Prototype Cells in a nib instead of a storyboard</a></li>
  </ul>
  
  <p>They all point out to doing them programatically and/or using another nib for the cell. I know how to do them, but is there any way to design the collection view cell, inside a collection view <em>inside the same view</em> in a nib, just as in storyboard? Why doesn't Interface Builder let me do that in nib where it allows (and even encourages) perfectly using storyboard?</p>