Skip to content
This repository was archived by the owner on Oct 10, 2018. It is now read-only.

Commit e6e2f40

Browse files
author
Joaquin Perez Lopez
committed
Fix the wrong name of the method checked in respondToSelector in shouldSelectItemAtIndexPath
1 parent 956b813 commit e6e2f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DRCollectionViewTableLayout/DRCollectionViewTableLayoutManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ - (BOOL)collectionView:(UICollectionView *)collectionView shouldSelectItemAtInde
210210
NSUInteger row = [(DRCollectionViewTableLayout *)collectionView.collectionViewLayout rowNumberForIndexPath:indexPath];
211211
NSUInteger column = [(DRCollectionViewTableLayout *)collectionView.collectionViewLayout columnNumberForIndexPath:indexPath];
212212

213-
SEL selector = @selector(collectionViewTableLayoutManager:collectionView:shouldSelectItemAtIndexPath:column:indexPath:);
213+
SEL selector = @selector(collectionViewTableLayoutManager:collectionView:shouldSelectItemAtRow:column:indexPath:);
214214

215215
if ([self.delegate respondsToSelector:selector]) {
216216

0 commit comments

Comments
 (0)