Contents

textDidChangeNotification

Sent when the text in the receiving control changes.

Declaration

class let textDidChangeNotification: NSNotification.Name

Discussion

The field editor of the edited cell originally sends an didChangeNotification to the control, which passes it on in this form to its delegate. The notification object is the NSControl object posting the notification. The userInfo dictionary contains the following information:

Key

Value

“NSFieldEditor”

The edited cell’s field editor

See the controlTextDidChange: method for details. The system posts this notification on the main actor.

See Also

Control-Editing Notifications