Contents

union(_:)

Returns a new text range by forming the union with the text range you provide.

Declaration

func union(_ textRange: NSTextRange) -> Self

Parameters

  • textRange:

    The range to use to create the union.

Return Value

An NSTextRange that represent the union of the two ranges.

See Also

Comparing text ranges