Contents

changedNotification

A notification that a pasteboard object posts when its contents change.

Declaration

nonisolated class let changedNotification: NSNotification.Name

Discussion

This happens at the same time the pasteboard’s change count (changeCount property) is incremented. Changes include the addition, removal, and modification of pasteboard items. The userInfo dictionary may contain the representation types of pasteboard items that have been added to or removed from the pasteboard. See UserInfo Dictionary Keys for the keys used to access these representation types. If pasteboard items have been modified but not added or removed, the userInfo dictionary is nil.

See Also

Notifications