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

inputText(_:client:)

Handles key down events that do not map to an action method.

Declaration 宣言

func inputText(_ string: String!, 
        client sender: Any!) -> Bool

Parameters パラメータ

string

The key down event, which is the text input by the client.

sender

The client object sending the key down events.

Return Value 戻り値

true if the input is accepted; otherwise false.

Discussion 解説

An input method should implement this method when using key binding (that is, it implements didCommand(by:client:)).

See Also 参照

Supporting Key Binding