Instance Property

fileModificationDate

The last-known modification date of the document’s on-disk representation.

Declaration

@property(copy) NSDate *fileModificationDate;

Discussion

The NSDocument default file saving machinery uses this information to warn the user when the on-disk representation of an open document has been modified by something other than the current app.

See Also

Getting Document Metadata

fileURL

The location of the document’s on-disk representation.

entireFileLoaded

A Boolean value that indicates whether the document’s file is completely loaded into memory.

keepBackupFile

A Boolean value that indicates whether the document archives previously saved versions of the document.

draft

A Boolean value that indicates whether the document is a draft that the user has not yet saved.

fileType

The name of the document type, as specified in the app’s information property-list file.

documentEdited

A Boolean value that indicates whether the document has unsaved changes.

inViewingMode

A Boolean value that indicates whether the document is in read-only mode.