Re: NSComboBox -comboBox:completedString: not called
Re: NSComboBox -comboBox:completedString: not called
- Subject: Re: NSComboBox -comboBox:completedString: not called
- From: Markus Spoettl <email@hidden>
- Date: Tue, 13 Mar 2018 10:21:37 +0100
On 3/13/18 09:42, Markus Spoettl wrote:
I have trouble with NSComboBox in that the data source method -comboBox:completedString:
is not getting called. The combo box in question uses bindings for "Value" and "Content
Values", so I have no other data source methods implemented and -usesDataSource is NO
(when that is turned to YES, the combo box looses its content).
What I really want is implement case insensitive completion, I don't insist on using the
data source if there's another way to do that.
So, to answer my own question, I can "get this to work" using a custom NSComboBoxCell
subclass, implementing -completedString.
Having seen this in action I must confess this is a Bad Idea™.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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