Contents

init(range:affinity:granularity:)

Creates a new text selection with the range, selection affinity, and granularity you provide.

Declaration

convenience init(range: NSTextRange, affinity: NSTextSelection.Affinity, granularity: NSTextSelection.Granularity)

Parameters

See Also

Creating a text selection