- Declared In:
- NSInvocation+Extensions.h
Convenience factory methods
- + invocationWithTarget:method:
- + invocationWithTarget:method:argument:
+ (NSInvocation *)invocationWithTarget:(id)object method:(SEL)selector
Returns an invocation the can be used to send selector to the object. The method is assumed to have no argument.
+ (NSInvocation *)invocationWithTarget:(id)object method:(SEL)selector argument:(void *)argument
Returns an invocation the can be used to send selector to the object. The method is assumed to have one argument.