• 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
NSObjectController can't observe NSArrayController's selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSObjectController can't observe NSArrayController's selection?


  • Subject: NSObjectController can't observe NSArrayController's selection?
  • From: Gerd Knops <email@hidden>
  • Date: Mon, 2 Apr 2007 11:39:30 -0500

I have an NSArrayController's contentArray bound to an array of dictionaries, all of which have a 'name' key.

Now I can bind a text field to the array controller, key 'selection' and path to 'name', and it will show the 'name' property of the selected dictionary.

But if I add an NSObjectController, bind it to the array controller, key set to 'selection' and no path, expecting it to now reflect the selected dictionary. Then I bind a text field to the object controller, key 'selection' and path 'name', but nothing happens.

Shouldn't this work? What am I missing?

Gerd

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Two Core Data .mom Files
  • Next by Date: A few bindings questions from a bindings-newbie
  • Previous by thread: Re: Two Core Data .mom Files
  • Next by thread: Re: NSObjectController can't observe NSArrayController's selection?
  • Index(es):
    • Date
    • Thread