Contents (package MULK.OBJECTIVE-CL)
Standard Generic Function SELECTOR-NAME
Find the name of a selector.
selector-name selector
selector --- an object of type selector.
Returns: name --- a string.
selector-name returns the name of selector.
(selector-name (selector '(:string-with-c-string :encoding)))
;=> "stringWithCString:encoding:"
If x is an object of type selector:
(objc-equal x (find-selector (selector-name x))) ;=> T
If name is the name of an existing selector:
(equal name (selector-name (find-selector name))) ;=> T