An NSRangeSpecifier object specifies a range (that is, an uninterrupted series) of objects in a container through two delimiting objects. The range is represented by two object specifiers, a start specifier and an end specifier, which can be of any specifier type (such as NSIndexSpecifier or NSWhoseSpecifier object). These specifiers are evaluated in the context of the same container object as the range specifier itself.


You don’t normally subclass NSRangeSpecifier.


Accessing a range specifier

var endSpecifier: NSScriptObjectSpecifier?

Sets the object specifier representing the last object of the range to a given object.

var startSpecifier: NSScriptObjectSpecifier?

Returns the object specifier representing the first object of the range.