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

inputText(_:key:modifiers:client:)

Receives Unicode, the key code that generated it, and any modifier flags.

Declaration 宣言

func inputText(_ string: String!, 
           key keyCode: Int, 
     modifiers flags: Int, 
        client sender: Any!) -> Bool

Parameters パラメータ

string

The text input by the client.

keyCode

The key code for the associated Unicode.

flags フラグ

The modifier flags.

sender

The client object.

Return Value 戻り値

true if the input is accepted; otherwise false.