Created
October 4, 2013 10:14
-
-
Save objectiveSee/6823811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kGameCellIdent forIndexPath:indexPath]; | |
if ( cell.tag != 1 ) { | |
UITapGestureRecognizer tappy = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(_cellTapped:)]; | |
[cell addGestureRecognizer:tappy]; | |
cell.tag = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment