• 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
NSComboBox Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox Bindings


  • Subject: NSComboBox Bindings
  • From: Charles Ross <email@hidden>
  • Date: Mon, 29 May 2006 13:28:24 -0700

I have an NSComboBox in a NIB file that also has an NSArrayController. The array controller seems to be working to bind values to the combo box as well as to text fields, a checkbox and a table. I want the values in the combo box to be those values that were previous entered in the field.

I thought I had done this before by enabling the binding of the combo box for the content or contentValues binding. However, neither of these work. For both, I'm binding to the array controller for the key arrangedObjects with the model key bath series (the binding for the value is selection.series). Whenever I do this for either the content or contentValues bindings, the application stops responding as soon as I open a document with data. The app displays a beachball and Cmd- Opt-Esc reveals that the app is no longer responding.

So I have two questions: First, any suggestions on how to get this to work? Second, how would one go about debugging this sort of problem? Since I'm not using source code to get the desired behavior, the debugger wouldn't seem to be any good in this case.

Thanks,
Chuck Ross
_______________________________________________
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


  • Prev by Date: Re: Installer Check to see if it's an Intel Mac
  • Next by Date: Re: NSMatrix -objectValue always gives 1. What good is that?
  • Previous by thread: Re: NSMatrix -objectValue always gives 1. What good is that?
  • Next by thread: png icons in NSButton
  • Index(es):
    • Date
    • Thread