Re: Temporarily disabling autosave
Re: Temporarily disabling autosave
- Subject: Re: Temporarily disabling autosave
- From: Steve Mills <email@hidden>
- Date: Fri, 19 Apr 2013 14:17:44 -0500
On Apr 19, 2013, at 13:40:12, Mike Abdullah <email@hidden> wrote:
> Why is it causing an interruption? That sounds suspicious to me.
Just because. This isn't simply ol' audio playback. This is a lot more complex. Go with it.
> It sounds like you might want to have your -write… routine check -autosavingIsImplicitlyCancellable and bail if it returns YES during playback.
But it's not that I want to cancel a save, I just want it to be skipped until we stop playback. I tried returning NO from hasUnautosavedChanges if it's called during playback, but this seems to prevent autosave from firing again, even if I make changes to the doc, which causes updateChangeCount:NSChangeDone.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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