Contents

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