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 manager if it’s disabled.