• 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
NSTableViews, NSArraycontrollers and table selection question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableViews, NSArraycontrollers and table selection question


  • Subject: NSTableViews, NSArraycontrollers and table selection question
  • From: "Lorenzo Thurman" <email@hidden>
  • Date: Fri, 7 Mar 2008 23:12:19 -0600

I have two NSTableviews each bound to their own NSArrayControllers. The
tables site side by side in a window and are populated simultaneously. That
works all well and good. The problem I have is that the first row in each
table is selected, but grayed out and clicking on those rows does not fire a
selection changed notification. I guess this make sense since its already
selected, so there's no real change, but I have two other textfields that
are bound to the selections, so the texfields are not populated until I
click another row. I've played around with the settings in IB 3 (all the
bindings were setup in IB3), but I can't figure out how to make this work. I
tried setting the selection index to -1 after the tables are poulated, but
that did not help. I thought I could also fire my own
tableselectiondidchange notification using the notification center, but that
didn't work either. Does anyone have any pointers?Thanks

--
"My break-dancing days are over, but there's always the funky chicken"
--The Full Monty
_______________________________________________

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: Cocoa-dev Digest, Vol 5, Issue 335
  • Next by Date: CALayer weirdness
  • Previous by thread: Re: Cocoa-dev Digest, Vol 5, Issue 335
  • Next by thread: CALayer weirdness
  • Index(es):
    • Date
    • Thread