title: Specify row and column number for UICollectionView
body: <p>I want to show a UICollectionView which contains exactly 2 rows and 100 cells in each row.</p>
  
  <pre><code>// 1
  - (NSInteger)collectionView:(UICollectionView *)view numberOfItemsInSection:(NSInteger)section {
  
      return 100;
  }
  // 2
  - (NSInteger)numberOfSectionsInCollectionView: (UICollectionView *)collectionView {
      return 2;
  }
  // 3
  - (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath {
      MyCell *cell = [cv dequeueReusableCellWithReuseIdentifier:@"cell" forIndexPath:indexPath];
  
          cell.lbl.text = @"Data";
  
      return cell;
  }
  </code></pre>
  
  <p>I am getting this:</p>
  
  <p><img src="https://i.stack.imgur.com/rW6Qb.png" alt="enter image description here"></p>
  
  <p>How can I specify a row number for UICollectionView? I want to create a 2x100 table.</p>