init(insertionPoint:)
Create a selection at a given insertion point.
Declaration
init(insertionPoint: String.Index)Parameters
- insertionPoint:
A
String.Indexrepresenting the insertion point.
Create a selection at a given insertion point.
init(insertionPoint: String.Index)AString.Index representing the insertion point.