• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Turning text tokens into single elements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning text tokens into single elements


  • Subject: Re: Turning text tokens into single elements
  • From: Jonathan del Strother <email@hidden>
  • Date: Wed, 19 May 2010 13:31:09 +0100

On 19 May 2010 13:02, Gideon King <email@hidden> 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@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Turning text tokens into single elements
      • From: Gideon King <email@hidden>
References: 
 >Turning text tokens into single elements (From: Gideon King <email@hidden>)

  • Prev by Date: Simulating Text Input
  • Next by Date: Re: Simulating Text Input
  • Previous by thread: Turning text tokens into single elements
  • Next by thread: Re: Turning text tokens into single elements
  • Index(es):
    • Date
    • Thread