disableUndoRegistration()
Disables the recording of undo operations.
Declaration
func disableUndoRegistration()Discussion
This method disables undos recorded by registerUndo(withTarget:selector:object:) or invocation-based undo.
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.