Flexible alternative to NSTokenField?

I'm trying to tune NSTokenField, and after several hours, I realized that I’m NSTokenFieldnot tuning enough (at least using public methods). Do you know an alternative NSTokenFieldthat can be easily customized?

Thank!

+5
source share
2 answers

What about a subclass NSTokenFieldand / or NSTokenFieldCell?

You can use it tokenizingCharacterSetin conjunction with NSString componentsSeparatedByCharactersInSet:to get a list of tokens, and then draw them as you would like.

You will also be able to fully respond to mouse events, but you want to (using the NSCell methods for Mouse Tracking )

+1
source

, NSTokenField . github, .

+1

All Articles