Contents

UndoManager.CheckpointMessage

A message that an undo manager sends at certain checkpoints.

Declaration

struct CheckpointMessage

Overview

The undo manager posts this message when it opens or closes an undo group (except when it opens a top-level group) and when it checks the redo stack.

Observe this message type with the identifier checkpoint, 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 NSUndoManagerCheckpoint. 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

See Also

Working with notification messages