Cocoa keyword / tag control

I want to create a keyword / tag function for my Cocoa app. Is there a tutorial or example on how a control works that sets keywords / tags? I want it to look like the Keywords window in iPhoto that you get from Window-> Show Keywords.

0


source to share


1 answer


There is a built-in control for NSTokenField , which is a simple subclass of NSTextField. You provide a string and a set of delimiters and it will tokenize them automatically.



+3


source







All Articles