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

            init(_ action: RotationAction) {
            self.action = action
        }
            func handleGesture(gestureRecognizer: UIRotationGestureRecognizer) {
            action(rotation: Double(gestureRecognizer.rotation), velocity: Double(gestureRecognizer.velocity), state: gestureRecognizer.state)
        }
    }

            init(_ action: SwipeAction) {
            self.action = action
        }
        func handleGesture(gestureRecognizer: UISwipeGestureRecognizer) {
            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, direction: gestureRecognizer.direction)
        }
    }
}
