Introduction to Undo Architecture

Explains how to record information in Cocoa so a user can reverse an operation

Organization of This Document

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.

Clearing 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 AppKit-Based Applications describes the Application Kit’s additions to undo.

Using Undo Notifications describes synchronizing using notifications.

Next

Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-06-03