Re: Temporarily disabling autosave
Re: Temporarily disabling autosave
- Subject: Re: Temporarily disabling autosave
- From: Steve Mills <email@hidden>
- Date: Mon, 22 Apr 2013 23:42:55 -0500
On Apr 22, 2013, at 17:57:41, Jerry Krinock <email@hidden> wrote:
> which, per previous messages in this thread, I presume you do by sending the shared document controller -setAutosavingDelay:0.0. I'm surprised that this has any effect, because this method is "Available in OS X v10.4 and later", and is apparently part of the the old "Tiger" autosave mechanism.
No, that was only something I tried, but it didn't work. The pause mechanism is something in our own code - a bool that says it's paused (it's actually an integer so it can be incremented/decremented in a nested fashion). I check this value in writeToURL and hasUnautosavedChanges.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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