Creates a temporary instance of
NSArchiver and archives an object graph by encoding it into a data object and writing the resulting data object to a specified file.
- macOS 10.0–10.13Deprecated
The root object of the object graph to archive.
The location of the the file into which to write the archive.
true if the archive was written successfully, otherwise