Skip to content

Instantly share code, notes, and snippets.

@quamen
Created August 4, 2009 05:06
Show Gist options
  • Save quamen/161037 to your computer and use it in GitHub Desktop.
Save quamen/161037 to your computer and use it in GitHub Desktop.
-(IBAction)didPressButtonInTableCell:(MyButton*)sender {
for (int i = 0; i < [anArrayOfKeys count]; i++) {
if ([[anArrayOfKeys objectAtIndex:i] isEqualToString:sender.key]) {
[self tableView:tableView didSelectRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0]];
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment