On 2010 Jul 28, at 20:07, Gideon King wrote: > Thanks Jerry, it is part of an NSPersistentDocument subclass. I get a bit > confused about which save method(s) I would have to implement in my subclass, > as there seem to be a number of save... methods and a number of writeTo... > methods. The potential candidates seem to be...
No need to guess! Paste "Message Flow in the Document Architecture" into your Xcode documentation viewer. Up near the top hit should be a page with that title in "Document-Based Applications Overview", which is the most usefully lucid page of documentation ever produced by Apple. It has some wonderful diagrams including one for "Saving a Document". Unfortunately it doesn't show the topmost stack calls for Core Data (I've filed a bug), but you can see where it leaves off, knowing that NSPersistentDocument overrides writeToURL:ofType:forSaveOperation:originalContentsURL:error:. Anything under that works just like it says. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
