I wish to drag a UIImage on to one of several UIButtons and have it repositioned based on which button I drag it to.
The problem I\'ve ran in to is that UITouch only
swift 4:
override func touchesEnded(_ touches: Set, with event: UIEvent?) {
if let touch = touches.first{ let location = touch.location(in: self.view) let v = touch.view
// go on.. }
}