Type Method

instanceMethodSignatureForSelector:

Returns an NSMethodSignature object that contains a description of the instance method identified by a given selector.

Declaration

+ (NSMethodSignature *)instanceMethodSignatureForSelector:(SEL)aSelector;

Parameters

aSelector

A Selector that identifies the method for which to return the implementation address.

Return Value

An NSMethodSignature object that contains a description of the instance method identified by aSelector, or nil if the method can’t be found.

See Also

Obtaining Information About Methods

- methodForSelector:

Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.

+ instanceMethodForSelector:

Locates and returns the address of the implementation of the instance method identified by a given selector.

- methodSignatureForSelector:

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.