An NSRange​Specifier 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 NSIndex​Specifier or NSWhose​Specifier object). These specifiers are evaluated in the context of the same container object as the range specifier itself.


You don’t normally subclass NSRange​Specifier.


Accessing a range specifier

var end​Specifier:​ NSScript​Object​Specifier?

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

var start​Specifier:​ NSScript​Object​Specifier?

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