• 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: two table view selection problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two table view selection problem


  • Subject: Re: two table view selection problem
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 04 Mar 2008 08:15:50 -0800


On Mar 4, 2008, at 8:09 AM, Andy Lee wrote:
Try changing the -isEqual: calls to == instead, e.g.:

	if ([notification object] == tableView1)

I suspect -isEqual: is always returning YES.

No, this is not the problem. Using == is okay (and faster), since NSView's are always unique.


-corbin
_______________________________________________

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


References: 
 >two table view selection problem (From: Nick Rogers <email@hidden>)
 >Re: two table view selection problem (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Tabless NSTabView IB3 Bug
  • Next by Date: Re: Best way to hook up Font Panel to floater (that isn't first responder)?
  • Previous by thread: Re: two table view selection problem
  • Next by thread: how to write on disk
  • Index(es):
    • Date
    • Thread