• 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: NSPopupButtonCell bindings issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButtonCell bindings issues


  • Subject: Re: NSPopupButtonCell bindings issues
  • From: George Orthwein <email@hidden>
  • Date: Fri, 18 Aug 2006 09:21:53 -0400

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


  • Follow-Ups:
    • RE: NSPopupButtonCell bindings issues
      • From: "Kamrin Dahlin" <email@hidden>
References: 
 >NSPopupButtonCell bindings issues (From: Kam Dahin <email@hidden>)

  • Prev by Date: Re: copy versus arrayWithArray:
  • Next by Date: Receiving actions from WebViews
  • Previous by thread: NSPopupButtonCell bindings issues
  • Next by thread: RE: NSPopupButtonCell bindings issues
  • Index(es):
    • Date
    • Thread