Contents

add(in:)

Adds the indexes in an index range to the receiver.

Declaration

func add(in range: NSRange)

Parameters

  • range:

    Index range to add. Must be in the range 0 .. NSNotFound - 1.

Discussion

This method raises an rangeException when range would add an index that exceeds the maximum allowed value for unsigned integers.

See Also

Adding Indexes