On 19 May 2010 13:02, Gideon King <[email protected]> wrote:
> I'm looking for some sample code that shows how to take a token in a text 
> view and represent it as a single graphical item - just like what xcode does 
> when it does method completion, and it puts the arguments in a single blue 
> capsule thing that is treated as one single character (only I wouldn't make 
> it so you could double-click it and edit it).
>
> I guess the reason I am having trouble finding it is because I'm not sure 
> exactly how to best describe it, but hopefully someone will understand, and 
> let me know if there is some applicable source code available.
>
> I suppose I could achieve my desired aim by using text attachments, and 
> create the images for the elements, but I'm wondering if there's a better way.
>

Try NSTokenField ?
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to