Instance Method

rangeView(of:)

Returns a Range-based view of self.

Declaration

func rangeView(of range: Range<IndexSet.Element>) -> IndexSet.RangeView

Parameters

range

A subrange of self to view.

See Also

Getting a Range-Based View

var rangeView: IndexSet.RangeView

Returns a Range-based view of the entire contents of self.

struct IndexSet.RangeView

A view of the contents of an IndexSet, organized by range.