Instance Method

close

Closes all of the document's windows and removes the document from its document controller.

Declaration

- (void)close;

Discussion

This method closes the document immediately, without asking users if they want to save the document. This method may not always be called.

See Also

Closing the Document

- canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:

Determines whether to close the document, prompting the user as needed to choose a course of action.