June 30, 2012
Auto Save and Versions

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:

  1. Restore a version of the document
  2. Modify the document
  3. Close the document

Source: cocoa-dev mailing list

5:27pm  |   URL: http://tmblr.co/Z-oSPxOQQOd9
(View comments  
Filed under: cocoa 
  1. hataewon posted this
Blog comments powered by Disqus