             init(_ action: PinchAction) {
             self.action = action
         }
-            func handleGesture(gestureRecognizer: UIPinchGestureRecognizer) {
-                var locations = [Point]()
-                for i in 0..<gestureRecognizer.numberOfTouches() {
-                    locations.append(Point(gestureRecognizer.locationOfTouch(i, inView: gestureRecognizer.referenceView)))
-                }
-                action(locations: locations, center: gestureRecognizer.location, scale: Double(gestureRecognizer.scale), velocity: Double(gestureRecognizer.velocity), state: gestureRecognizer.state)
+        func handleGesture(gestureRecognizer: UIPinchGestureRecognizer) {
+            var locations = [Point]()
+            for i in 0..<gestureRecognizer.numberOfTouches() {
+                locations.append(Point(gestureRecognizer.locationOfTouch(i, inView: gestureRecognizer.referenceView)))
+            }
+            action(locations: locations, center: gestureRecognizer.location, scale: Double(gestureRecognizer.scale), velocity: Double(gestureRecognizer.velocity), state: gestureRecognizer.state)
         }
     }
 }

            if let handler: AnyObject = actionHandler {
                removeTarget(handler, action: "handleGesture:")
            }
                    if let action = newValue {
                actionHandler = LongPressGestureHandler(action)
                addTarget(actionHandler!, action: "handleGesture:")
            } else {

            init(_ action: LongPressAction) {
            self.action = action
        }
        func handleGesture(gestureRecognizer: UILongPressGestureRecognizer) {
            var locations = [Point]()
            for i in 0..<gestureRecognizer.numberOfTouches() {
                locations.append(Point(gestureRecognizer.locationOfTouch(i, inView: gestureRecognizer.referenceView)))
            }
            action(locations: locations, center: gestureRecognizer.location, state: gestureRecognizer.state)
        }
    }
}
