Automatic Document Saving


#1

In the Automatic Document Saving section of Ch. 10, the text states that the developer can “opt in” to this feature by changing autosavesInPlace to return YES.

Actually, in my version of Xcode (4.6), the version of autosavesInPlace (automatically provided when creating the document-based app) is set to return YES.

PS: I actually had to change autosavesInPlace to return NO in the early stages of the application before dataOfType:typeName:Error was updated (from the provided sample) not to throw an exception.