title: Placing UIView or UILabel inside UITextField or UITextView acting like character
body: <p>I need to create a dialog, similar to the one that is used to write functions in Numbers from APple, for example.</p>
  
  <p>User can select range in the table, which is then represented as any kind of UIView inside text input line. When long-tapped, the content can be edited like normal text, but what is most important is that whole subView, containing text with range description is treated as one character.</p>
  
  <p>Does anybody know or have idea how to achieve this?</p>
  
  <p>I would appreciate any hints...</p>