Re: Temporarily disabling autosave
Re: Temporarily disabling autosave
- Subject: Re: Temporarily disabling autosave
- From: Jerry Krinock <email@hidden>
- Date: Wed, 24 Apr 2013 11:29:13 -0700
On 2013 Apr 24, at 11:00, Steve Mills <email@hidden> wrote:
> but the way Cocoa doesn't prevent things from happening in version browser documents added a huge amount to our workload
That's maybe not the hardest thing you'll do this week. Add this to your code snippets…
if ([self isInViewingMode]) {
NSBeep() ;
return ;
}
and start pasting! My Lion-autosaved app uses that in 34 places. When in doubt, paste. It usually does no harm.
_______________________________________________
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