Re: Telling Auto Save, "No, I'm busy now"
Re: Telling Auto Save, "No, I'm busy now"
- Subject: Re: Telling Auto Save, "No, I'm busy now"
- From: Jerry Krinock <email@hidden>
- Date: Sat, 30 Jul 2011 14:02:30 -0700
On 2011 Jul 30, at 02:10, Ken Thomases wrote:
> On Jul 29, 2011, at 10:32 PM, Jerry Krinock wrote:
>
>> With Auto Save enabled in a document, I find that Lion sometimes wants to break into a sequence of operations to do an Auto Save.
>
> What do you mean by "break into" or "a sequence of operations"?
Thank you, Ken. Sorry, I should have been more explicit – NSOperations. To execute some user commands, my app queues up, oh, 5-100 NSOperations. The entire sequence of operations may take 5-60 seconds. Some of the operations change the data model.
Before my fix, Lion would typically sneak in one or more Auto Saves in between some of these operations. These Auto Saves were pointless and annoying. After my fix, the operations proceed without interruption, then Auto Save kicks in to do its thing 10-15 seconds after they are done. Makes much more sense.
_______________________________________________
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