Instance Property

documentState

Returns the current state of the document.

Declaration

var documentState: UIDocumentState { get }

Discussion

When document state changes, the UIDocument object stores a constant identifying the new state in this property. See the UIDocumentState enum for descriptions of these constants. To receive notifications about changes in document state, observe the UIDocumentStateChanged notification.

See Also

Related Symbols

var localizedName: String

The localized name of the document.

var fileURL: URL

The file URL with which the document was initialized.

var fileType: String?

The file type of the document.

var fileModificationDate: Date?

The date and time the document file was last modified.