Instance Method

initWithContainerClassDescription:containerSpecifier:key:startSpecifier:endSpecifier:

Returns a range specifier initialized with the given properties.

Declaration

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

Parameters

classDescription

The class description.

container

The container.

property

The property.

startSpec

The object specifier representing the first object of the range.

endSpec

The object specifier representing the last object of the range.

Return Value

A range specifier initialized with the given properties.

Discussion

Invokes the super class’s initWithContainerClassDescription:containerSpecifier:key: method and initializes the instance with the object specifiers representing the starting element, startSpec, and the ending element, endSpec, of a range of elements in the container.

See Also