Relative Content

Tag Archive for swiftcocoaappkit

NSTrackingArea right-click and drag

I’m trying to implement a right-click-and-drag operation to link two NSViews, in a very similar manner to creating constraints in the Xcode Interface Builder. I want the target NSView to respond to the drag on mouseEntered.