• 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
Using ComboBox as a search field and selector - newbie solicits advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using ComboBox as a search field and selector - newbie solicits advice


  • Subject: Using ComboBox as a search field and selector - newbie solicits advice
  • From: Pete Bates <email@hidden>
  • Date: Sat, 17 Dec 2005 13:48:15 -0700

I have core data application in which two related entities will each have many member objects. To select the related member on the to-one end of this relationship and conserve screen real estate, I would like to use a combo box to filter the selection so the user doesn't have to scroll through a thousand or so possible selections, but can type in a small amount of text and have the selection list narrowed, with the filtered list presented as the combo box list, and let the user select the desired one. I could do this with a search field and a popup, but because there will actually be several such relationships that need to be established, the screen would be unnecessarily cluttered if I were to do so. The combo box seems to be a good choice.

So to implement this, my study of available documentation leads me to think that I need to construct a custom controller to do the filtering and have have the controller execute the filtering action when the user presses the return (or Enter) key, bind this controller to the combo box's content, and the filtered array to the contentValues of the comboBox. Am I on the right track? Any words of wisdom?

Thanks,
Pete
_______________________________________________
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: Using ComboBox as a search field and selector - newbie solicits advice
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: [Solved] Custom NSPopUpButton and Cell
  • Next by Date: Re: NSNotification / Core Data roadblock [solved]
  • Previous by thread: Re: Gui-less daemon based on NSFileHandle
  • Next by thread: Re: Using ComboBox as a search field and selector - newbie solicits advice
  • Index(es):
    • Date
    • Thread