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™.


Markus Spoettl

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to