0

I am trying to implement a NSTextField that displays an autocomplete list and when an option is selected, the value is highlighted as an individual label. The best way to describe this is how mail completes email addresses and separates each one with a background colour.

What is the best way to implement something like this, is a NSTextField the correct object or should I be using something else? Are each of the values attributed strings?

Text field with labels

BON
  • 433
  • 2
  • 9
  • 18

1 Answers1

0

What you want is already there. Use NSTokenField

Astri
  • 575
  • 4
  • 10