Changes

Jump to: navigation, search

Detecting iOS 8 Touch Screen Gesture Motions in Swift

4 bytes added, 15:20, 27 February 2015
Implementing the touchesBegan Method
override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
let theTouch = touches.anyObject() as UITouch
var startPoint = theTouch.locationInView(self.view)
let x = startPoint!.x

Navigation menu