This method is called by action methods to save document contents to a file.
- macOS 10.0–10.4Deprecated
This method is called by action methods like
save. It is responsible for handling backup of the existing file, if any, and removal of that backup if
NO. In between those two things, it calls
write to write the document of type
full. You should never need to call
write, but subclasses that want to change the way the backup works can override it. The
save argument is one of the constants listed in Constants.
If you override this method, you should invoke
file and set the variables returned from this method when writing
change can be used to do this.