Instance Method


Sets the name of this document for presentation to the user.


- (void)setDisplayName:(NSString *)displayNameOrNil;



The display name of the document or nil, in which case the document display name is “Untitled”.

See Also

Managing Document Windows

- showWindows

Displays all of the document’s windows, bringing them to the front and making them main or key as necessary.

- setWindow:

Sets the window outlet of this document to the specified value.


Returns the document window to use as the parent of a document-modal sheet.


The name of the document as displayed in the title bars of the document’s windows and in alert dialogs related to the document.

- defaultDraftName

Returns the default draft name for the document subclass.

- encodeRestorableStateWithCoder:backgroundQueue:

Saves the interface-related state of the document.