Re: does windowDidClose or not?
Re: does windowDidClose or not?
- Subject: Re: does windowDidClose or not?
- From: Ondra Cada <email@hidden>
- Date: Mon, 17 Apr 2006 18:19:01 +0200
I do agree, just I think it is worth pointing out a catch there--one
which is alas often overlooked by developers:
On Apr 17, 2006, at 5:23 PM, William Bumgarner wrote:
use a document like window such that the close button dirties as
changes are made and the user uses "save" (cmd-s) to commit the
changes
In general it is *very much wrong* to allow save for validated
documents only. The thing is that the user *should be able* to save
non-validated un-clean half-done work, say, since his power grid goes
down and he has exactly ten seconds left before the UPS gives up, too :)
The proper way is to do validation and *warn* when saving something
which cannot be validated, but save anyway, allowing the user to fix
the errors in the next session.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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