Instance Property

fileType

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

Declaration

@property(copy) NSString *fileType;

Discussion

The document type affects how the data is filtered when it is written to or read from a file. When a document is saved, the type is determined by the entries in the app’s information property list (specified in Info.plist).

You cannot use this property to change the document’s format after it has already been opened or saved. This property records only the initial document format used when first opening or saving the file.

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.

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.

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.