Instance Method

disableEditing()

Overridden to disable editing when it is unsafe to make changes to a document.

Declaration

func disableEditing()

Discussion

Subclasses should override this method to prevent the user from editing the document when it is unsafe to do so, such as during a save-and-close or revert operation. When editing is safe again, UIKit class calls enableEditing(). The default implementation of this method does nothing.

See Also

Disabling and Enabling Editing

func enableEditing()

Overridden to enable editing when it is safe again to make changes to a document.