Instance Method インスタンスメソッド

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 インデックスにアクセスする