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

index(afterRun:)

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

Declaration 宣言

func index(afterRun i: Index) -> Index

Parameters パラメータ

i

The index of a run in the attributed string.

Return Value 戻り値

The position of the first run immediately after the end of i-th run.

See Also 参照

Accessing Indicies After a Known Position