This worked perfectly before:
func doSomethingOnDrag(sender: UIButton, event: UIEvent) {
let touch = event.touchesForView(sender).AnyObject() as UITouch
let location = touch.locationInView(sender)
}
But in Xcode 6.3, I now get the error:
Cannot invoke 'AnyObject' with no arguments
How do I fix this?