you might be talking about an NSTextView which contains Tokens or a TokenField. Look up this in the Apple API and see if this offers the functionality you need. I would recommend using an NSMutableString to hold your data as the values are stored in a comma separated syntax.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.