Re: Binding of "Object" and "Value" in NSPopupButtonCell
Re: Binding of "Object" and "Value" in NSPopupButtonCell
- Subject: Re: Binding of "Object" and "Value" in NSPopupButtonCell
- From: Ken Thomases <email@hidden>
- Date: Wed, 7 Jan 2009 19:35:33 -0600
On Jan 7, 2009, at 6:35 PM, Jerry Krinock wrote:
On 2009 Jan, 06, at 19:19, Ken Thomases wrote:
On another topic, you say you're binding "Content" with a
Controller Key of "selectedObject" (which you define through a
category as the first element of the array controller's
selectedObjects property). This doesn't make sense to me. The
Controller Key should be arrangedObjects. Otherwise, all of the
rows of the column will show the rank for whichever row you select.
I tried this change first, but it does not matter, probably because
the only row showing its popup menu is the one that is selected
anyhow.
But the current rank should show even when a row is not selected,
right? I think by using a Controller Key of selectedObject, all rows
will show the rank of the selected employee, not the employee on that
row.
Thanks, Ken.
You're welcome. I'm glad I could help.
Cheers,
Ken
_______________________________________________
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