• 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: If Array Controller is empty, how to populate pop-up list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If Array Controller is empty, how to populate pop-up list?


  • Subject: Re: If Array Controller is empty, how to populate pop-up list?
  • From: Jenny M <email@hidden>
  • Date: Thu, 14 Jan 2010 15:20:45 -0800

Uhh, okay so there's another problem I discovered. Below the popupmenu, I
have two text fields that are supposed to show two of the attributes of the
selected object (in the array controller). But changing the selection in the
popupmenu does NOT change the selected item in the array controller. How do
I wire the two together such that selecting a different value in the
nspopupmenu also changes the "selected" object in the array controller?

Right now the NSPopUpMenu has the bindings set like so:
- Content: ArrayController.arrangedObjects
- Content Values: ArrayController.arrangedObjects.name

Any ideas what else I need to set??
_______________________________________________

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

  • Follow-Ups:
    • Re: If Array Controller is empty, how to populate pop-up list?
      • From: Jenny M <email@hidden>
  • Prev by Date: Re: Bindings Problem
  • Next by Date: Re: NSDocument
  • Previous by thread: Re: If Array Controller is empty, how to populate pop-up list?
  • Next by thread: Re: If Array Controller is empty, how to populate pop-up list?
  • Index(es):
    • Date
    • Thread