Contents

UndoManager.DidUndoChangeMessage

A message that an undo manager sends after undoing a change.

Declaration

struct DidUndoChangeMessage

Overview

The undo manager posts this message after you call undo() or undoNestedGroup(). Because this is a “did”-style message, the undo manager sends the message after it performs the undo.

Observe this message type with the identifier didUndoChange, or specify its type directly to the addObserver(of:for:using:) method. The Subject of this message type is UndoManager.

This message interoperates with the notification NSUndoManagerDidUndoChange. The system notifies observers of the message when the NotificationCenter posts the notification. Similarly, the system notifies observers of the notification when it posts the message.

Topics

Initializers

Instance Properties

See Also

Working with notification messages