Are there any problems when using IBAction when it is not actually called from a user action?
If you have an action like
-(IBAction)sayHello:(id)sender;
You can call it from your class, for example:
[self sayHello:@"x"]
@ "x" does nothing, it just populates for the sender.
In fact, you can create an IBAction method without the (id) sender
-(IBAction)sayHello;
and call it from both user actions and code, but then you will not get any useful sender information from the interface. What is the “correct” padding method for the sender when called from code? And can you create sender information for sending when it is called from code?
Just trying to figure it out.