init(range:)
Create a single selection with a given range.
Declaration
init(range: Range<String.Index>)Parameters
- range:
A range of
String.Indexrepresenting the selection.
Create a single selection with a given range.
init(range: Range<String.Index>)A range of String.Index representing the selection.