NSComboBox bound to NSMutableArray of NSMutableDictionary with NSArrayController?
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