NSTableView selectionShouldChangeInTableView: bug?
NSTableView selectionShouldChangeInTableView: bug?
- Subject: NSTableView selectionShouldChangeInTableView: bug?
- From: David Peredo <email@hidden>
- Date: Tue, 10 Jul 2007 10:31:31 -0700
I'm having a problem with the delegate for my NSTableView getting the
selectionShouldChangeInTableView: method called twice when you return
NO. This doesn't happen when YES is returned.
for example, the following would print twice per click on the table:
- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView {
NSLog(@"foo");
return NO;
}
I can't think of any reason why this behavior would be desirable. I
also noticed that other people were experiencing the same problem
(http://www.cocoadev.com/index.pl?SheetProblemsWithNSTableView).
Anyone have a fix or work around? or is this, dare I say it, a Cocoa
bug?
Appreciate any help =)
Dave
_______________________________________________
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