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.