• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: selectionShouldChangeInTableView called twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: selectionShouldChangeInTableView called twice
      • From: Andre Masse <email@hidden>
    • Re: selectionShouldChangeInTableView called twice
      • From: Graham Cox <email@hidden>
References: 
 >selectionShouldChangeInTableView called twice (From: Andre Masse <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: Copying Managed Objects from App to Doc MOContext
  • Previous by thread: Re: selectionShouldChangeInTableView called twice
  • Next by thread: Re: selectionShouldChangeInTableView called twice
  • Index(es):
    • Date
    • Thread