Contents

canRedo

A Boolean value that indicates whether the manager has any actions to redo.

Declaration

var canRedo: Bool { get }

Discussion

true if the manager has any actions to redo, otherwise false.

Because any undo operation registered clears the redo stack, this method posts an NSUndoManagerCheckpoint to allow clients to apply their pending operations before testing the redo stack.

See Also

Related Documentation

Checking undo ability