Instance Method

controlTextDidChange:

Sent when the text in the receiving control changes.

Declaration

- (void)controlTextDidChange:(NSNotification *)obj;

Parameters

aNotification

The notification object. The name of the notification is always NSControlTextDidChangeNotification.

Discussion

This method is invoked when text in a control such as a text field or form changes. The control posts a NSControlTextDidChangeNotification notification, and if the control’s delegate implements this method, it is automatically registered to receive the notification. Use the key @"NSFieldEditor" to obtain the field editor from the userInfo dictionary of the notification object.

See Also

Control Editing Notifications

- controlTextDidBeginEditing:

Sent when a control with editable text begins an editing session.

Deprecated
- controlTextDidEndEditing:

Sent when a control with editable text ends an editing session.

Deprecated