Instance Property

undoManager

The undo manager that views should use to register undo operations.

Declaration

var undoManager: UndoManager? { get }

Discussion

If the UndoManager is nil, the environment represents a context where undo and redo isn’t supported, and you can skip undo registrations.