Instance Method

disableUndoRegistration

Disables the recording of undo operations, whether by registerUndoWithTarget:selector:object: or by invocation-based undo.

Declaration

- (void)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

- enableUndoRegistration

Enables the recording of undo operations.

undoRegistrationEnabled

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

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