Re: Binding NSPopUpButton to an NSArrayController
Re: Binding NSPopUpButton to an NSArrayController
- Subject: Re: Binding NSPopUpButton to an NSArrayController
- From: Kenny Leung <email@hidden>
- Date: Thu, 2 Nov 2006 14:53:59 -0800
Thank you!
I knew this had to have been covered somewhere. I just couldn't find
it. I was just so stuck on using the object.
-Kenny
On Nov 2, 2006, at 2:34 PM, Matt Neuburg wrote:
On Thu, 2 Nov 2006 11:05:08 -0800, Kenny Leung
<email@hidden> said:
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!
Check. The. Archives.
<http://www.cocoabuilder.com/archive/message/cocoa/2006/5/31/164724>
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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