Function

method_getNumberOfArguments(_:)

Returns the number of arguments accepted by a method.

Declaration

func method_getNumberOfArguments(_ m: Method!) -> UInt32

Parameters

method

A pointer to a Method data structure. Pass the method in question.

Return Value

An integer containing the number of arguments accepted by the given method.