Instance Method


Performs the undo operations in the last undo group (whether top-level or nested), recording the operations on the redo stack as a single group.


func undoNestedGroup()


Raises an NSInternalInconsistencyException if any undo operations have been registered since the last enableUndoRegistration() message.

This method posts an NSUndoManagerCheckpoint and NSUndoManagerWillUndoChange before it performs the undo operation, and it posts an NSUndoManagerDidUndoChange after it performs the undo operation.

See Also

Performing Undo and Redo

func undo()

Closes the top-level undo group if necessary and invokes undoNestedGroup().

func redo()

Performs the operations in the last group on the redo stack, if there are any, recording them on the undo stack as a single group.