Hi,

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. I'm not using binding here, only datasource and delegate methods. So in - selectionShouldChangeInTableView: I return YES if the user saved or cancelled and NO if he choose the third option.

Problem is that selectionShouldChangeInTableView is called twice when returning NO. Having googled it, I found a couple of matches on this list and no replies... To make sure this is a bug, I made a test project available here and will radar it if it has no workaround:

http://idisk.mac.com/miyano/Public/TestRowChanges.zip

Now, since I can't rely on -selectionShouldChangeInTableView:, how do you guys handle this?

Thanks,

Andre Masse
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to