title: How to link two NSViews with a bezier curve?
body: <p>I am building a language learning macOS app and I was wondering how would I be able to link two <code>NSView</code>s with a bezier curve via <code>mouseDown</code> and <code>mouseUP</code> like the prototyping Flinto app for Mac (<a href="https://www.flinto.com/mac" rel="nofollow noreferrer">https://www.flinto.com/mac</a>)? Both Objective-C and Swift are fine. Cheers!</p>
  
  <p>Just adding a photo of the example for clarity...</p>
  
  <p><a href="https://i.stack.imgur.com/6JHCs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6JHCs.png" alt="enter image description here"></a></p>