Instance Method

removeAllActionsWithTarget:

Clears the undo and redo stacks of all operations involving the specified target as the recipient of the undo message.

Declaration

- (void)removeAllActionsWithTarget:(id)target;

Parameters

target

The recipient of the undo messages to be removed.

Discussion

Doesn’t re-enable the receiver if it’s disabled.

See Also

Clearing Undo Operations

- removeAllActions

Clears the undo and redo stacks and re-enables the receiver.

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