Instance Property

startIndex

The beginning index in the set.

Declaration

var startIndex: IndexSet.Index { get }

Relationships

See Also

Manipulating Indexes

var endIndex: IndexSet.Index

The ending index in the set.

func index(after: IndexSet.Index) -> IndexSet.Index

Returns the index that follows the given index in the set.

func index(before: IndexSet.Index) -> IndexSet.Index

Returns the index that precedes the given index in the set.

func formIndex(after: inout IndexSet.Index)

Modifies the given index to refer to the item after the one it currently refers to.

func formIndex(before: inout IndexSet.Index)

Modifies the given index to refer to the item before the one it currently refers to.

func indexRange(in: Range<IndexSet.Element>) -> Range<IndexSet.Index>

Return a Range<IndexSet.Index> which can be used to subscript the index set.