In the giant stack that implements document saving in Cocoa, -[NSDocument saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:] invokes -[NSDocument saveToURL:ofType:forSaveOperation:completionHandler:]
Preliminary tests indicate that, in 10.9, the first method there is returning before the second one is invoked, and I think this was not the case in 10.8. I am surprised because this is actually a Core Data NSPersistentDocument, and following Apple recommendations I have implemented -[MyDocument canAsynchronouslyWriteToURL:ofType:forSaveOperation:] to return NO. I don’t remember any mention of this change in any of the 2013 WWDC Videos, and there is no mention of it in the 10.9 AppKit release notes. Is there somewhere else I could read about this, and Apple’s recommendations before I do something the hard/stupid way? Unfortunately, that will need to be soon because it seems this change has caused a bug in my transient Helper tool which modifies documents: The tool exits before the changes are saved to the disk :( Thanks, Jerry Krinock _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com