like this:
- (void) collectionView:(PMBrowsingCollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
NSInteger r = indexPath.row;
NSInteger sec = indexPath.section;
NSInteger item = indexPath.item;
DLog(@"Selected item at %@", indexPath);
}
Question is : the variable sec is always is 0, although I touch in the section 2,3 .....;
like this:
{
NSInteger r = indexPath.row;
NSInteger sec = indexPath.section;
NSInteger item = indexPath.item;
DLog(@"Selected item at %@", indexPath);
}
Question is : the variable sec is always is 0, although I touch in the section 2,3 .....;