Coerces its argument to an Objective-C class pointer.
objc
coerce-to-objc-class class => class-pointer
class⇩ |
A string or Objective-C class pointer. |
class-pointer |
An Objective-C class pointer. |
The function coerce-to-objc-class
returns the Objective-C class pointer for the class specified by class. If class is a string, then the registered Objective-C class pointer is found. Otherwise class should be a foreign pointer of type objc-class and is returned unchanged.
This is the opposite operation to the function objc-class-name.
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 01 Dec 2021 19:38:32