Instance Method

register(_:)

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.

Declaration

func register(_ classDescription: NSScriptClassDescription)

See Also

Getting and Registering Class Descriptions

func classDescriptions(inSuite: String) -> [String : NSScriptClassDescription]?

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

func classDescription(withAppleEventCode: FourCharCode) -> NSScriptClassDescription?

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