Instance Method

initWithContainerClassDescription:containerSpecifier:key:

Returns an NSScriptObjectSpecifier object initialized with the given attributes.

Declaration

- (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property;

Return Value

An NSScriptObjectSpecifier object initialized with container specifier specifier, key key, and the class description of the object specifier classDescription, derived from the value of the specifier’s key.

Discussion

You should never pass nil for the value of classDescription. The receiver’s child reference is set to nil.

This is the designated initializer for NSScriptObjectSpecifier.

See Also

Initializing an object specifier

- initWithContainerSpecifier:key:

Returns an NSScriptObjectSpecifier object initialized with a given container specifier and key.