Re: customizing save behavior in doc based apps
Re: customizing save behavior in doc based apps
- Subject: Re: customizing save behavior in doc based apps
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 26 Dec 2005 15:19:32 -0800
On Dec 26, 2005, at 1:59 PM, email@hidden wrote:
Great point. I definitely don't want the disk churning away with
every single input and this seems like an elegant way to avoid
that. Really, all I want is for changes to automatically get saved
to disk whenever the user closes the window or quits the app. The
only time I want them to get prompted for a save is when they try
to close the window or quit the app with an untitled document --
which is why I was originally trying to override close and
applicationShouldTerminate:
The latter two are handled for you automatically by the document
architecture -- is there any reason why that behaviour is insufficient?
If you want changes to be saved on close, could you not just override
-close?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden