I'd like to have a text field like the expression editor text field in Numbers:
It's very similar to NSTokenField
, but NSTokenField
only supports a delimiter separated list of tokens, like the "To:" field in Mail.app.
I have to embed these tokens into the text at specific locations, but otherwise have them work exactly like NSTokenField
(backspace deletes a token, you can drag them around etc.).
Is there any 1st or 3rd party control that does something like this? I didn't find anything.
If not, how would you recommend implementing it? Use Core Text and reinvent the wheel (implement NSTextField
with better token support)? Or is there a better solution?