Contents (package MULK.OBJECTIVE-CL)


Standard Generic Function SELECTOR-NAME

Purpose:

Find the name of a selector.

Syntax:

selector-name selector

Arguments and Values:

selector --- an object of type selector.

Returns: name --- a string.

Description:

selector-name returns the name of selector.

Examples:

(selector-name (selector '(:string-with-c-string :encoding)))  
 ;=> "stringWithCString:encoding:"  
 

Note:

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  
 

See Also:

find-selector, selector