Re: Temporarily disabling autosave
Re: Temporarily disabling autosave
- Subject: Re: Temporarily disabling autosave
- From: Mike Abdullah <email@hidden>
- Date: Fri, 19 Apr 2013 19:40:12 +0100
On 19 Apr 2013, at 19:25, Steve Mills <email@hidden> wrote:
> What's the best way to temporarily disable autosave (autosavesInPlace and preservesVersions are both off), like if I don't want to interrupt our audio playback? Simply override hasUnautosavedChanges and return NO if I want it disabled, otherwise call super?
Why is it causing an interruption? That sounds suspicious to me.
It sounds like you might want to have your -write… routine check -autosavingIsImplicitlyCancellable and bail if it returns YES during playback.
_______________________________________________
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