RE: NSPopupButtonCell bindings issues
RE: NSPopupButtonCell bindings issues
- Subject: RE: NSPopupButtonCell bindings issues
- From: "Kamrin Dahlin" <email@hidden>
- Date: Mon, 21 Aug 2006 08:47:46 -0700
- Thread-topic: NSPopupButtonCell bindings issues
Thanks George,
I will give this a shot and let you know what happens.
Regards,
k
-----Original Message-----
From: George Orthwein [mailto:email@hidden]
Sent: Fri 8/18/2006 6:21 AM
To: Kamrin Dahlin
Cc: email@hidden
Subject: Re: NSPopupButtonCell bindings issues
On Aug 16, 2006, at 8:10 PM, Kam Dahin wrote:
> It seems like I am missing one piece of the puzzle, since my second
> NSPopUpButtonCell is displaying the correct values for the first
> PackNode, just can't get these values to change based on my selection.
I replied off list so I'm not sure you've tried this yet... but maybe
someone else can verify my thoughts....
The behavior described above would happen if the selection of the
first array controller (PackNodesController) never changes. Since the
first popup has it's selectedObjects bound to a 3rd controller,
MediaFileController, that behavior makes sense. When the popup
changes selection, that selection is not being sent to
PackNodesController.
To test, either change the selectedObjects binding, or if you don't
want to mess with that... just create a button that sets the
selection of PackNodesController to some index other than 0 so you
can see if the second popup then changes its content. (You can
probably also set a breakpoint and change the current selection
during runtime while debugging, but my debugger knowledge is quite
poor.)
George
_______________________________________________
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