Instance Method

inputText:key:modifiers:client:

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

Declaration

- (BOOL)inputText:(NSString *)string key:(NSInteger)keyCode modifiers:(NSUInteger)flags client:(id)sender;

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

YES if the input is accepted; otherwise NO.