Instance Property

hasEditedDocuments

A Boolean value indicating whether the receiver has any documents with unsaved changes.

Declaration

@property(readonly) BOOL hasEditedDocuments;

Discussion

The value of this property is YES if the document controller contains documents with unsaved changes; otherwise, the value is NO.

See Also

Managing Documents

documents

The document objects managed by the receiver.

- addDocument:

Adds the given document to the list of open documents.

currentDocument

The document object associated with the main window.

- documentForWindow:

Returns the document object whose window controller owns a specified window.

- removeDocument:

Removes the given document from the list of open documents.