Name
NSMethodSignature — Mac OS X 10.0
Synopsis
This class provides an interface used to query information about a
method
including such characteristics as the number and types of arguments,
and the return type. Instances of
NSMethodSignature
are created using
NSObject
’s
methodSignature-ForSelector
: method.
|
@interface NSMethodSignature : NSObject
|
// Instance Methods
|
- (unsigned)frameLength;
|
- (const char *)getArgumentTypeAtIndex:(unsigned)index; |
- (BOOL)isOneway;
|
- (unsigned)methodReturnLength;
|
- (const char *)methodReturnType;
|
- (unsigned)numberOfArguments;
|
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.