import-objc-class ( name quot -- )


Vocabulary
cocoa.messages

Inputs
namea string
quota quotation with stack effect ( -- )


Outputs
None

Word description
If a class named name is already known to the Objective C interface, does nothing. Otherwise, first calls the quotation. The quotation should make the class available to the Objective C runtime if necessary, either by loading a framework or defining it directly. After the quotation returns, this word makes the class available to Factor programs by importing methods and creating a class word the class object in the cocoa.classes vocabulary.

Definition