title: How To CustomToken - Cocoa with Objective-C or MacRuby
body: <p>I try to build an Input which is able to show one or more Token at the beginning of line.<br>
  You can see an example what I'm trying to receive in the image below. <em>(screenshot shows google-macsearch)</em></p>
  
  <p><a href="http://www.freeimagehosting.net/uploads/4a268855a0.jpg" rel="nofollow noreferrer">http://www.freeimagehosting.net/uploads/4a268855a0.jpg</a></p>
  
  <p>Cocoa provides the NSToken class, but I like to do it by myself and custom, but I don't know what or how to do.</p>
  
  <p>I tempt to draw the Token. This works fine, but now its on my View and without any functionality. I expect i shout place it somehow into the TextView.
  I hope you will give me a hint. </p>
  
  <p><em>Salut</em></p>