Instance Method

close

Closes all windows owned by the receiver and removes the receiver from the list of documents maintained by the document controller, which consequently releases it.

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 Documents

- canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:

If the receiver is not dirty, this method immediately calls the shouldCloseSelector callback on the specified delegate with YES.