Instance Method

add(_:)

Adds an index to the receiver.

Declaration

func add(_ value: Int)

Parameters

index

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

See Also

Adding Indexes

func add(IndexSet)

Adds the indexes in an index set to the receiver.

func add(in: NSRange)

Adds the indexes in an index range to the receiver.