• 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 bound to NSMutableArray of NSMutableDictionary with NSArrayController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?


  • Subject: NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?
  • From: Laurent Daudelin <email@hidden>
  • Date: Thu, 7 Oct 2010 12:32:19 -0700

I did google around, read the doc, but I'm not sure if I can bind an NSComboBox to an NSMutableArray of NSMutableDictionary. Is it possible?

My NSMutableDictionary keys are Name and Service. I bound the NSArrayController to my NSMutableArray ivar. I then set my NSComboBox content to NSArrayController.arrangedObjects and NSComboBox content values to NSArrayController.arrangedObjects.Name but the NSComboBox doesn't display anything and I don't get any error in the console.

So, can I provide an array of NSMutableDictionary or does it have to be an array of NSString?

Thanks in advance!

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software              			email@hidden

_______________________________________________

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: NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Calling maincontroller
  • Next by Date: Re: NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?
  • Previous by thread: Re: Calling maincontroller
  • Next by thread: Re: NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?
  • Index(es):
    • Date
    • Thread