invokeWithTarget:
Sets the receiver’s target, sends the receiver’s message (with arguments) to that target, and sets the return value.
Declaration
- (void) invokeWithTarget:(id) target;Parameters
- target:
The object to set as the receiver’s target.
Discussion
You must set the receiver’s selector and argument values before calling this method.