title: UICollectionView - Not displaying cells
body: <p>What I'm trying to achieve is a 3x3 table with <code>UICollectionView</code>. But it just doesn't display any cells when running the application. It does display the background color of the <code>CollectionView</code> though (which I set to blue) Can someone help me here?</p>
  
  <p>What I have done is create a <code>storyboard</code> and simply dragged a <code>CollectionViewController</code> onto it. This controller also brought a nested <code>CollectionView</code> with it. Then I simply used the settings to make its background blue and to add a cell to it of which I made the background purple (both only for testing). Finally dragged a <code>UILabel</code> onto it. Now when run it just displays the blue background but no cells even though they are clearly visible in the editor. I've then tried to create a custom <code>UICollectionViewController</code>, assign the class to the <code>CollectionViewController</code> instead of the standard class and did the same to the cell (assign a custom <code>UICollectionViewCell</code>). In the custom <code>UICollectionViewController</code> I implemented the following methods:</p>
  
  <pre><code>-(NSIntegear)numberOfSectionsInCollectionView:(UICollectionView *)collectionView
  {
      return 1;
  }
  
  -(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
  {
      return 9;
  }
  
  -(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *cellIdentifier = @"Cell";
      AboutYourGoalsMultiSelectionCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath];
      [[cell goal]setText:@"T"];
  
      return cell;
  }
  </code></pre>
  
  <p>I set the identifier of the cell to "Cell" and made an outlet connection of dataSource and delegate between the CollectionView and the custom UICollectionViewController. Everything compiles fine.
  So what am I missing? Shouldn't it have displayed something way before doing all these tweaks by simply using the editor?</p>
  
  <p><img src="https://i.stack.imgur.com/4Rj9b.png" alt="The storyboard editor with all the changes I did"></p>