Re: If Array Controller is empty, how to populate pop-up list?
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