• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Binding of "Object" and "Value" in NSPopupButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Binding of "Object" and "Value" in NSPopupButtonCell
      • From: Jerry Krinock <email@hidden>
References: 
 >Binding of "Object" and "Value" in NSPopupButtonCell (From: Jerry Krinock <email@hidden>)
 >Re: Binding of "Object" and "Value" in NSPopupButtonCell (From: Ken Thomases <email@hidden>)
 >Re: Binding of "Object" and "Value" in NSPopupButtonCell (From: Jerry Krinock <email@hidden>)

  • Prev by Date: NSOutlineView indentation
  • Next by Date: Re: NSOperation Question
  • Previous by thread: Re: Binding of "Object" and "Value" in NSPopupButtonCell
  • Next by thread: Re: Binding of "Object" and "Value" in NSPopupButtonCell
  • Index(es):
    • Date
    • Thread