Contents

NSMaxRange(_:)

Returns the sum of the location and length of the range.

Declaration

func NSMaxRange(_ range: NSRange) -> Int

Return Value

The sum of the location and length of the range—that is, range.location + range.length.

See Also

Managing ranges