Instance Method

classDescriptionForKey:

Returns the class description instance for the class type of the specified attribute or relationship.

Declaration

- (NSScriptClassDescription *)classDescriptionForKey:(NSString *)key;

Parameters

key

The identifying key for an attribute or relationship of the receiver.

Return Value

The instance of NSScriptClassDescription for the type of the attribute or relationship specified by key. Returns nil if no scriptable property corresponds to key.

See Also

Getting a Script Class Description

+ classDescriptionForClass:

Returns the class description for the specified class or, if it is not scriptable, for the first superclass that is.

superclassDescription

Returns the class description instance for the superclass of the receiver’s class.