Instance Method

disableUndoRegistration()

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

Declaration

func disableUndoRegistration()

Discussion

This method can be invoked multiple times by multiple clients. The enableUndoRegistration() method must be invoked an equal number of times to re-enable undo registration.

See Also

Enabling and Disabling Undo

func enableUndoRegistration()

Enables the recording of undo operations.

var isUndoRegistrationEnabled: Bool

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