NextPrevUpTopContentsIndex

coerce-to-objc-class

Function
Summary

Coerces its argument to an Objective-C class pointer.

Package

objc

Signature

coerce-to-objc-class class => class-pointer

Arguments

class

A string or Objective-C class pointer.

Values

class-pointer

An Objective-C class pointer.

Description

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.

See also

objc-class
objc-class-name


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

NextPrevUpTopContentsIndex