Type Method

invocationWithMethodSignature:

Returns an NSInvocation object able to construct messages using a given method signature.

Declaration

+ (NSInvocation *)invocationWithMethodSignature:(NSMethodSignature *)sig;

Parameters

signature

An object encapsulating a method signature.

Discussion

The new object must have its selector set with NSInvocation and its arguments set with setArgument:atIndex: before it can be invoked. Do not use the alloc/init approach to create NSInvocation objects.

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software