Binding NSPopUpButton to an NSArrayController
Binding NSPopUpButton to an NSArrayController
- Subject: Binding NSPopUpButton to an NSArrayController
- From: Kenny Leung <email@hidden>
- Date: Thu, 2 Nov 2006 11:05:08 -0800
Hi All.
I have been frustrated all morning trying to do a very simple thing:
bind up an NSPopUpButton to an NSArrayController. I want the
NSPopUpButton's contents to be the NSArray controller's contents, and
the selectedObject to be the selected object in the
NSArrayController. The only problem is, NSArrayController does not
have a selectedObject key - only a selectedObjects key. Try as I
might, I cannot get this to work. Any help would be greatly appreciated!
-Kenny
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden