Contents

initWithInvocation:

Returns an NSInvocationOperation object initialized with the specified invocation object.

Declaration

- (instancetype) initWithInvocation:(NSInvocation *) inv;

Parameters

  • inv:

    The invocation object identifying the target object, selector, and parameter objects.

Return Value

An initialized NSInvocationOperation object or nil if the object could not be initialized.

Discussion

This method is the designated initializer. The receiver tells the invocation object to retain its arguments.

See Also

Initialization