first-responder

resignFirstResponder causing EXC_BAD_ACCESS

Hi, I've got a UITextField on UITableViewCell, and a button on another cell. I click on UITextField (keyboard appears). UITextField has the following method called: - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField { NSLog(@"yes, it's being called"); owner.activeTextField = textField; return YES; }; Where owner....

What exactly a responder means?

Normally we use the resignFirstResponder to hide the keyboard in the iphone apps. For example, when we use a UISearchBar, after the user click the search button, we hide the keyboard by implement the searchBarSearchButtonClicked function like this: -(void)searchBarSearchButtonClicked:(UISearchBar*)searchBar{ NSLog(@"Search B...