NSComboBoxCell & AutoComplete
NSComboBoxCell & AutoComplete
- Subject: NSComboBoxCell & AutoComplete
- From: email@hidden
- Date: Sun, 09 Oct 2011 17:18:40 -0700
I have an NSComboBox bound to the selection of an NSArrayController. The bound object is an NSDictionary. I use an NSValueTransfomer to represent the NSDictionary. The ValueTransformer gives me the dictionary's summary property which is useful for people choosing the appropriate NSDictionary from the array. I have set up the NSComboBox to use a datasource for custom autocompletion. I need case insensitive autocompletion which does not come straight of the box. Whenever I star typing in my NSComboBox, I get an -[NSDictionary length] exception. The NSComboxCell is trying to complete by sending a length request to the bound object, not through the transformer. Is there a way around this? The calling method before the exception is [NSComboBoxCell _completeNoRecursion]. Thanks,
Patrick
_______________________________________________
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