The text input by the client.
Instance Method
インスタンスメソッド
input
inputText:key:modifiers:client:
Receives Unicode, the key code that generated it, and any modifier flags.
Availability
- macOS 10.5+
Technology
- Input
Method Kit
Declaration 宣言
- (BOOL)inputText:(NSString
*)string
key:(NSInteger
)keyCode
modifiers:(NSUInteger
)flags
client:(id)sender;
Parameters パラメータ
string
keyCode
The key code for the associated Unicode.
flags フラグ
The modifier flags.
sender
The client object.
Return Value 戻り値
YES
if the input is accepted; otherwise NO
.