index(afterRun:)
Returns the position of the run immediately after a run indicated by an index.
Declaration
func index(afterRun i: AttributedString.Index) -> AttributedString.IndexParameters
- i:
The index of a run in the attributed string.
Return Value
The position of first run immediately after the end of i-th run.