Type Property

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.

See Also

Notifications

class let textDidBeginEditingNotification: NSNotification.Name

Sent when a control with editable cells begins an edit session.

class let textDidEndEditingNotification: NSNotification.Name

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