Name

NSScriptClassDescription — Mac OS X 10.0

Synopsis

This class is used by Cocoa’s scripting information to encapsulate information about scriptable classes, and to provide an interface to determine characteristics and properties of scriptable objects.

image with no caption

@interface NSScriptClassDescription : NSClassDescription
                                  // Initializers
   - (id)initWithSuiteName:(NSString *)suiteName 
                                 className:(NSString *)className 
                                 dictionary:(NSDictionary *)dict;
                                  // Instance Methods
   - (unsigned long)appleEventCode;
   - (unsigned long)appleEventCodeForKey:(NSString *)key;
   - (NSScriptClassDescription *)classDescriptionForKey:(NSString *)key;
   - (NSString *)className;
   - (NSString *)defaultSubcontainerAttributeKey;
   - (BOOL)isLocationRequiredToCreateForKey:(NSString *)toManyRelationshipKey;
   - (BOOL)isReadOnlyKey:(NSString *)key;
   - (NSString *)keyWithAppleEventCode:(unsigned long)code;
   - (BOOL)matchesAppleEventCode:(unsigned long)code;
   - (SEL)selectorForCommand:(NSScriptCommandDescription *)commandDef;
   - (NSString *)suiteName;
   - (NSScriptClassDescription *)superclassDescription;
   - (BOOL)supportsCommand:(NSScriptCommandDescription *)commandDef;
   - (NSString *)typeForKey:(NSString *)key;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.