Re: selectionShouldChangeInTableView called twice
Re: selectionShouldChangeInTableView called twice
- Subject: Re: selectionShouldChangeInTableView called twice
- From: Jerry Krinock <email@hidden>
- Date: Sat, 20 Dec 2008 17:26:13 -0800
On 2008 Dec, 20, at 10:23, Andre Masse wrote:
I'm using a master/detail view in my application. If the user select
another row in the master table and the detail has been modified, I
want to present an alert to save, cancel or return to detail.
Back to the original question, I always thought that the desired
behavior in this case would be to simply set the change in the data
model without asking. You mentioned "save". Indeed, I would not
"save" in the sense of saveDocument:. But like Graham said, a table
entry is "cheap" [in user effort] to restore the old value if it was a
mistake. And the proper, easy way for the user to restore it would be
-- drum roll -- Undo -- cowbell :)
_______________________________________________
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