Instance Property

canRedo

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

Declaration

@property(readonly) BOOL canRedo;

Discussion

YES if the receiver has any actions to redo, otherwise NO.

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

See Also

Checking Undo Ability

canUndo

A Boolean value that indicates whether the receiver has any actions to undo.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software