What method do I have to use for calculating the distance that CGPoint travelled from its old position to new position?
var point: CGPoint = CGPointMake(x:50.0, y:50.0)
...and there is a method for dragging a point with LMB:
func mouseDragged(event: NSEvent) {
var pointDragged = self.convertPoint(event.locationInWindow, fromView: nil)
}