Writes the receiver document’s contents to a file.
- macOS 10.0–10.4Deprecated
This method is called from
writeWithBackupToFile:ofType:saveOperation: to actually write the file of type
fullOriginalDocumentPath is the path to the original file if there is one and
nil otherwise. The default implementation simply calls
writeToFile:ofType:. You should not need to call this method directly, but subclasses that need access to the previously saved copy of their document while saving the new one can override this method. The
saveOperationType argument is one of the constants listed in Constants.
See Document Saving Behavior for additional information about saving documents.
A primitive method overridden by subclasses to return a data object that represents the data of the receiver in a given type.
Returns the filename (as a fully qualified path) under which the receiver has been saved.
Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and returns
YES if successful.
Sets the file (filename and directory path) under which document data is saved.
Validates the Revert menu item and items selected from the Save panel’s pop-up list of writable document types items.