NextPrevUpTopContentsIndex

coerce-to-selector

Function
Summary

Coerces its argument to an Objective-C method selector.

Package

objc

Signature

coerce-to-selector method => selector

Arguments

method

A string or selector.

Values

selector

A selector.

Description

The function coerce-to-selector returns the selector named by method . If method is a string, then the registered selector is found or a new one is registered. Otherwise method should be a foreign pointer of type sel and is returned unchanged.

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

See also

sel
selector-name


LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 4 Apr 2005

NextPrevUpTopContentsIndex