Tells the delegate that the window’s undo manager has been requested. Returns the appropriate undo manager for the window.
- macOS 10.0+
The window whose undo manager is being requested.
The appropriate undo manager for the specified window.
If this method is not implemented by the delegate, the window creates an
window. Further, after a window creates its own undo manager, this method is never again called on the delegate.