Instance Method

inputText:client:

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

Declaration

- (BOOL)inputText:(NSString *)string client:(id)sender;

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

YES if the input is accepted; otherwise NO.

Discussion

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

See Also

Supporting Key Binding

- didCommandBySelector:client:

Processes a command generated by user action such as typing certain keys or pressing the mouse button.