Instance Method


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


- (void)invalidateRestorableState;


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.


Returns an array of key paths that represent the restorable attributes of the document.

- restoreDocumentWindowWithIdentifier:state:completionHandler:

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