Instance Method

removeAllActions(withTarget:)

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

Declaration

func removeAllActions(withTarget target: Any)

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

func removeAllActions()

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