Contents

isDraft

A Boolean value that indicates whether the document is a draft that the user has not yet saved.

Declaration

nonisolated var isDraft: Bool { get set }

Discussion

The system presents a Save dialog when the user closes a draft document. Only documents with non-nil values for the fileURL property should be considered drafts.

See Also

Getting Document Metadata