Instance Method

invalidateRestorableState

Marks the document’s interface-related state as dirty.

Declaration

- (void)invalidateRestorableState;

Discussion

Call this method whenever the restorable state of your document changes. This method marks the document’s state as dirty, which causes that state to be written to disk at some point in the future. Do not override this method.

See Also

Handling Window Restoration

- encodeRestorableStateWithCoder:

Saves the interface-related state of the document.

- restoreStateWithCoder:

Restores the interface-related state of the document.

restorableStateKeyPaths

Returns an array of key paths representing the restorable attributes of the document.

- restoreDocumentWindowWithIdentifier:state:completionHandler:

Restores a window that was associated with a document, after that document is reopened.