Type Property

didEndEditingNotification

Posted when focus leaves an NSText object, whether or not any operation has changed characters or formatting attributes.

Declaration

class let didEndEditingNotification: NSNotification.Name

Discussion

The notification object is the notifying NSText object. The userInfo dictionary contains the following information:

Key

Value

movementUserInfoKey

One of the values in NSTextMovement.

Key

Value

@"NSTextMovement"

Possible movement code values are described in Movement Codes.

See Also

Notifications

class let didBeginEditingNotification: NSNotification.Name

Posted when an NSText object begins any operation that changes characters or formatting attributes.

class let didChangeNotification: NSNotification.Name

Posted after an NSText object performs any operation that changes characters or formatting attributes.

class let movementUserInfoKey: String

The userInfo dictionary key for the didEndEditingNotification notification.