2D NSMutableArray in UICollectionView
<p>I'm new in IOS and I don't have idea that how to populate my 2D array in <code>collectionView</code>.</p>

<p>**How Will I display following in collectionView using Labels.</p>

<pre><code>myArray[0]-&gt;1,2,3,4,5
myArray[1]-&gt;6,7,8,9
myArray[2]-&gt;10,11,12,15


- (NSInteger)collectionView:(UICollectionView *)collectionView  numberOfItemsInSection:(NSInteger)section 
{

// What to call here as this is 2D?

return self.myArray.count;

}


- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
NSString *simpleId= @"CollectionViewCell";
TableViewCell *cell=[tableView dequeueReusableCellWithIdentifier:simpleId forIndexPath:indexPath];

//What to write here ? Cell contain 1 Label
}
</code></pre>