All Manuals > LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual > 2 Objective-C Reference

selector-name Function

Summary

Returns the name of a method selector.

Package

objc

Signature

selector-name selector => name

Arguments
selector
A string or selector.
Values
name
A string.
Description

The function selector-name returns the name of the method selector selector. If selector is a string then it is returned unchanged, otherwise it should be a foreign sel pointer and its name is returned.

This is the opposite operation to the function coerce-to-selector.

See also

sel
coerce-to-selector


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32