Contents

index(afterUnicodeScalar:)

Returns the position of the Unicode scalar immediately after a Unicode scalar indicated by an index.

Declaration

func index(afterUnicodeScalar i: AttributedString.Index) -> AttributedString.Index

Parameters

  • i:

    The index of a Unicode scalar in the attributed string.

Return Value

The position of the Unicode scalar immediately after the Unicode scalar at index i.

See Also

Accessing Indices