This topic describes how to record operations with NSUndoManager
, so the user can reverse an operation’s effect.
You should read this document to learn how to use an undo manager in your application.
This document contains the following articles:
“Undo Manager” provides a conceptual overview of the object which records operations for undo and redo.
“Registering Undo Operations” describes how to add operations to the undo stack.
“Performing Undo and Redo” describes how to perform undo and redo operations.
“Cleaning the Undo Stack” describes how to remove operations from the undo stack.
“Setting Action Names” describes how to provide custom names for the Undo and Redo menu items.
“Using Undo in Applications” describes the Application Kit’s additions to undo.
“Using Undo Notifications” describes synchronizing using notifications.
Last updated: 2009-05-16