Designing UICollectionView cells in nib with Interface Builder (without storyboard)
问题 I am trying to design a custom UICollectionViewCell prototype (in Xcode 5.0.2), however Interface Builder doesn't let me add a cell to my UICollectionView 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: Drag and dropping collection view cell into collection view manually from the object library. (fails: doesn't let me drop the cell