Only my second time using UICollectionView\'s and perhaps I have bitten off more than I can chew but nevertheless:
I am implementing a UICollectionView (myCollection
The cellForItemAtIndexPath will not get called if you do not provide the content size information to collection view.
In case of the latter, you will also observe that your layoutAttributesForElementsRect is also not called. The reason is that you have not specified what is your content size and by default the size will be CGSizeZero. This basically tell collection view that you don't have any content to paint so it does not bother asking you for attributes or cells.
So, just override collectionViewContentSize and provide a proper size there, it should solve your problem.