I am trying to make two NSView draggable and I was wondering how to encode them in Swift application for OSX Mac? I am going to put two NSViews in an NSView and make them draggable inside this NSView. For example, create an NSViewA and insert NSViewB and NSViewC inside it (both dragged into NSViewA). I would like to enter the code in Swift. Hooray!
source share