Skip to content

Instantly share code, notes, and snippets.

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