title: Xcode UI Element -> View that points to another view
body: <p>Is there a way I can make this view using Cocoa. 
  <img src="https://i.stack.imgur.com/8hBa4.png" alt="enter image description here"></p>
  
  <p>Also it needs to be resizable meaning the width should be depending on the text length? Thank you in advance</p>