I have a one dimensional array of images that I am feeding to a UICollectionView.
The collection view is just one section composed of the elements in the array.
when I click a cell and
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath;
I've never used them, but my understanding is that the two properties of a UICollectionView's indexPath are section and item, not section and row like in a UITableView.