O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

image with no caption

@interface NSMethodSignature : NSObject
                                  // Instance Methods
   - (unsigned)frameLength;
   - (const char *)getArgumentTypeAtIndex:(unsigned)index;
   - (BOOL)isOneway;
   - (unsigned)methodReturnLength;
   - (const char *)methodReturnType;
   - (unsigned)numberOfArguments;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required