hasUnautosavedChanges
A Boolean value that indicates whether the document has changes that have not been autosaved.
Declaration
var hasUnautosavedChanges: Bool { get }Discussion
The value of this property is true if the document has changes that have not been autosaved; otherwise, the value is false. A document has unsaved changes when the updateChangeCount(_:) method has been called since the last save.