Contents

keepBackupFile

A Boolean value that indicates whether the document archives previously saved versions of the document.

Declaration

nonisolated var keepBackupFile: Bool { get }

Discussion

The default value of this property is false, which causes each new save operation to replace the document’s on-disk content. If you override this method and return true, a save operation saves the document’s previous contents in a backup file before saving the current contents.

See Also

Getting Document Metadata