Instance Method


Returns the class description associated with the given four-character Apple event code, code.


- (NSScriptClassDescription *)classDescriptionWithAppleEventCode:(FourCharCode)appleEventCode;


Overriding behavior is important here. Multiple classes can have the same code if the classes have an uninterrupted linear inheritance from one another. For example, if class B is a subclass of A and class C is a subclass of B, and all three classes have the same four-character Apple event code, then this method returns the class description for class C.

See Also

Getting and Registering Class Descriptions

- classDescriptionsInSuite:

Returns the class descriptions contained in the suite identified by suiteName.

- registerClassDescription:

Registers class description classDescription for use by Cocoa’s built-in scripting support by storing it in a per-suite internal dictionary under the class name.