Skip to content

Instantly share code, notes, and snippets.

@mikeabdullah
Created November 26, 2014 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeabdullah/ae8f480194a3e9cc0d37 to your computer and use it in GitHub Desktop.
Save mikeabdullah/ae8f480194a3e9cc0d37 to your computer and use it in GitHub Desktop.
Connecting button's action via the cell
@implementation MyTableViewCell
- (IBAction)checkboxPressed:(UIButton *)checkbox {
// Dispatch onwards to controller with extra info
// so it can easily identify which task/cell/row
// is being acted on.
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment