On 19 Apr 2013, at 19:25, Steve Mills <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to