title: cellForItemAtIndexPath not called but numberOfItemsInSection does
body: <p>This could be a duplicate post but I haven't found the solution.</p>
  <p>I'm setting my <code>UICollectionView</code> as:</p>
  <pre><code>UINib *nib = [UINib nibWithNibName:@&quot;CollectionViewCell&quot;
                             bundle:[NSBundle mainBundle]];
  [_collectionView registerNib: nib forCellWithReuseIdentifier:@&quot;bCell&quot;];
  </code></pre>
  <p>(I've tried to set a delegate, without delegate, etcetera).</p>
  <p>But then, only the</p>
  <p><code>- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section</code> gets called while</p>
  <p><code>- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath</code> doesn't.</p>
  <p>I've checked the <strong>numberOfItemsInSection</strong> I return, and it's always &gt; 0 (it's exactly 17).</p>
  <p>I've checked to call <code>[_collectionView reloadData];</code> and nothing happens either.</p>
  <p>I've tried different things but I can't make it work.</p>
  <p>Furthermore, my <code>UICollectionView</code> should be here but it's not:</p>
  <p><img src="https://i.stack.imgur.com/5aBDG.png" alt="enter image description here" /></p>
  <p>Does anyone have a clue?
  Thank you.</p>