Contents

countOfIndexes(in:)

Returns the number of indexes in the index set that are members of a given range.

Declaration

func countOfIndexes(in range: NSRange) -> Int

Parameters

  • range:

    Index range being inquired about.

Return Value

Number of indexes in the index set that are members of indexRange.

See Also

Querying Index Sets