Type Property

textDidBeginEditingNotification

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

Declaration

class let textDidBeginEditingNotification: NSNotification.Name

Discussion

The field editor of the edited cell originally sends an didBeginEditingNotification 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 controlTextDidEndEditing(_:) method for details.

See Also

Notifications

class let textDidChangeNotification: NSNotification.Name

Sent when the text in the receiving control changes.

class let textDidEndEditingNotification: NSNotification.Name

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