Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface MyCell : UITableViewCell<UITextFieldDelegate>
- {
- IBOutlet UITextField *txtFields;
- }
- - (IBAction)textFieldAction:(id)sender;
- @property (nonatomic,retain) IBOutlet UITextField *txtFields;
- @end
- - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
- return NO;
- }
- NSLog(@"textFields=%@ delegate=%@", cell.txtFields, cell.txtFields.delegate);
- assert(cell.txtFields.delegate == cell); // lets make sure this is proper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement