Initializer

init(containerClassDescription:containerSpecifier:key:)

Returns an NSScriptObjectSpecifier object initialized with the given attributes.

Declaration

init(containerClassDescription classDesc: NSScriptClassDescription, containerSpecifier container: NSScriptObjectSpecifier?, key property: String)

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

init(containerSpecifier: NSScriptObjectSpecifier, key: String)

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