---
title: removeAllActions()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/undomanager/removeallactions()
---

# removeAllActions()

Clears the undo and redo stacks and reenables the manager.

## Declaration

```swift
func removeAllActions()
```

## See Also

### Related Documentation

- [enableUndoRegistration()](foundation/undomanager/enableundoregistration().md)

### Clearing undo operations

- [removeAllActions(withTarget:)](foundation/undomanager/removeallactions(withtarget:).md)
