title: How to do Tag/Label/Text View?
body: <p>I want to do something like this view (I don't know even name it) but I don't know where to start to do it the most efficient (the most less amount of code) way.</p>
  
  <p>I want to do this tag/label/text with same functionality like Apple Mail has. Facebook Messenger has almost the same. Is there some official high level public API for that? Where is the best place to start? TextKit? UITextInput? Can you provide me at least abstract algorithm or point me to some inspirational place?</p>
  
  <p><img src="https://i.stack.imgur.com/MuxkM.png" alt="enter image description here"></p>