Re: 10.9: Some Async Saving is ON even if you say NO?
Re: 10.9: Some Async Saving is ON even if you say NO?
- Subject: Re: 10.9: Some Async Saving is ON even if you say NO?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 30 Oct 2013 22:32:44 -0700
On 2013 Oct 30, at 16:00, Jerry Krinock <email@hidden> wrote:
> 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.
It turns out that 10.8 does this too, but apparently 10.9 is slower, or possibly other operations are relatively faster, which exposed the bug in my tool. I was going by the “Saving a Document” diagram [1] in the Document-Based Programming Guide for Mac, which implies that the document-saving methods are “stacked” and return synchronously in the the conventional way. This has been false since NSDocument got all of its perform-synchronous-activity magic that came with 10.7 Lion.
Jerry
[1] I have previously reported this incorrect documentation, Bug 10256432, but the response was that I should use Document Feedback for specific mistakes. So I did that today, mentioning the incorrectness of the call “stack” in the “Saving a Document” diagram, the deprecated methods mentioned in the text, and the need for a new diagram explaining how Auto Save works.
https://developer.apple.com/library/mac/documentation/DataManagement/Conceptual/DocBasedAppProgrammingGuideForOSX/AdvancedTopics/AdvancedTopics.html#//apple_ref/doc/uid/TP40011179-CH7-SW21
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden