removeAllActions() Clears the undo and redo stacks and reenables the manager. Declarationfunc removeAllActions() See AlsoRelated DocumentationenableUndoRegistration()Clearing undo operationsremoveAllActions(withTarget:)