I have 2 text fields in my app and both are connected with my “devTyping” IBAction.
This method (I guess it is a method) will be called when the event “editing changed” happens.
How can I tell my method, in which text field the user is typing?
- (IBAction)devTyping {
NSLog(@"How to know in which text field the user is typing?");
}
Take a look at this question, which should be an equivalent as to what you are asking 🙂