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

candidates(_:)

Returns an array of candidates.

Declaration 宣言

func candidates(_ sender: Any!) -> [Any]!

Parameters パラメータ

sender

The client object requesting the candidates.

Return Value 戻り値

An array of candidates. The returned array should be an autoreleased object.

Discussion 解説

An input method should look up its currently composed string and return a list of candidate strings that that string might map to.

See Also 参照

Getting Input Strings and Candidates