Auto Save and Versions seem only to work in conjunction with the NSFileWrapper-using read/write method of NSDocument, ie
– readFromFileWrapper:ofType:error: – fileWrapperOfType:error:
If you use only
– readFromURL:ofType:error: – dataOfType:error:
then you get a warning that the file cannot be autosaved after having done the following:
- Restore a version of the document
- Modify the document
- Close the document
Source: cocoa-dev mailing list
-
hataewon posted this