Instance Property


Returns the current state of the document.


var documentState: UIDocumentState { get }


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.