Function

method_getName(_:)

Returns the name of a method.

Declaration

func method_getName(_ m: Method!) -> Selector!

Parameters

method

The method to inspect.

Return Value

A pointer of type SEL.

Discussion

To get the method name as a C string, call sel_getName(method_getName(method)).