Instance Property

fileURL

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

Declaration

@property(copy) NSURL *fileURL;

Return Value

The document’s location.

Discussion

The default implementation of this property returns the URL of the file that was opened. Changing the value of this property does not actually change the document’s name or location; it is only for recording the document’s location during its initial opening or saving.

See Also

Getting Document Metadata

entireFileLoaded

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

fileModificationDate

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

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.