Instance Property


Returns the current state of the document.


var documentState: UIDocument.State { get }


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

See Also

Accessing Document Attributes

var fileURL: URL

The file URL with which the document was initialized.

var localizedName: String

The localized name of the document.

var fileType: String?

The file type of the document.

var fileModificationDate: Date?

The date and time the document file was last modified.

var progress: Progress?

The upload or download progress of a document.