Instance Property

numberOfArguments

The number of arguments recorded in the receiver.

Declaration

@property(readonly) NSUInteger numberOfArguments;

Discussion

There are always at least two arguments, because an NSMethodSignature object includes the implicit arguments self and _cmd, which are the first two arguments passed to every method implementation.

See Also

Getting Information on Argument Types

- getArgumentTypeAtIndex:

Returns the type encoding for the argument at a given index.

frameLength

The number of bytes that the arguments, taken together, occupy on the stack.

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