O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required