title: Recreate recipient bubble behaviour in Mail.app / Three20
body: <p><a href="https://stackoverflow.com/users/304870/krumelur">Krumelur</a> <a href="https://stackoverflow.com/questions/4707873/pick-recipients-like-mfmailcomposeviewcontroller-does">asked this question</a> about how create a recipient bubble similar to the mail.app. Please see screenshots below of what I mean:</p>
  
  <p><img src="https://i.stack.imgur.com/rJNcU.png" alt="Mail.app picker bubble picture"></p>
  
  <p><img src="https://i.stack.imgur.com/4MSE8.png" alt="Selected contact"></p>
  
  <p>I can create the look of this element (including the look when it has been selected) but I am struggling with getting the behaviour when it's part of a <code>UITextField</code>. How do you get the bubble to act as part of the UITextField text? For example, when you press the backspace button enough, the bubble becomes highlighted and after one more press will be deleted as if it was part of the text. I've also had difficulties moving the cursor as well. </p>
  
  <p>Preferably the answer would be great in Monotouch but Objective-C answers are more than appreciated too. I'm not asking for the exact code (though if you are willing to part with it, then I won't say no! :D) but rather how to achieve this. </p>
  
  <p>I'm aware of the Three20 project which has a similar element but I can't find where abouts in the code this is actually performed. 
  I'm sorry if this doesn't make much sense, I've kinda struggled to put this question elequantly, please feel free to ask me any questions clarifying the question! </p>