Instance Property

isUndoRegistrationEnabled

A Boolean value that indicates whether the recording of undo operations is enabled.

Declaration

var isUndoRegistrationEnabled: Bool { get }

Discussion

true if registration is enabled; otherwise, false.

The default is true.

See Also

Enabling and Disabling Undo

func disableUndoRegistration()

Disables the recording of undo operations, whether by registerUndo(withTarget:selector:object:) or by invocation-based undo.

func enableUndoRegistration()

Enables the recording of undo operations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software