• 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
NSTableView selectionShouldChangeInTableView: bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: reason for getting NSFileHandle:writeData exception
  • Next by Date: Re: Is there a fast NSShadow alternative?
  • Previous by thread: Re: Is there a fast NSShadow alternative?
  • Next by thread: Tracking file launch / close
  • Index(es):
    • Date
    • Thread