Contents

init(_:affinity:)

Creates a new text selection with the location and selection affinity you provide.

Declaration

convenience init(_ location: any NSTextLocation, affinity: NSTextSelection.Affinity)

Parameters

See Also

Creating a text selection