Enumeration Case

NSAutosaveElsewhereOperation

An operation that writes an autosave version of the file to a different location.

Declaration

NSAutosaveElsewhereOperation = 3

Discussion

For an NSDocument subclass that overrides autosavesInPlace to have the value YES, this is used during autosaving of documents that have never been saved and therefore do not yet have a document file that can be overwritten during autosaving. NSDocument may also pass NSAutosaveElsewhereOperation when invoking writeSafelyToURL:ofType:forSaveOperation:error: while duplicating or reverting a document.