      - returns: Returns `0.0` if either `direction` (or the `initialDirection` fallback) or `view` are `nil`. Else, takes the current `translationInView()` and simplfies it down to the specified `direction`. For example, if `direction` is `.Left`, and the translation is `CGPoint(x: 3.0, y: 4.0)`, the function returns `3.0`.
      */
     
-    func translation(inDirection direction: Direction? = nil) -> CGFloat {
+    public func translation(inDirection direction: Direction? = nil) -> CGFloat {
         guard let direction = direction ?? initialDirection, view = view else {
             return 0.0
         }


// MARK: - Directional helpers

extension DirectedPanGestureRecognizer {
    
    /**
     The pan gesture recognizer's current translation in `view`, simplified to a linear value in a given direction.

import UIKit.UIGestureRecognizerSubclass

/// Extension of `UIGestureRecognizerDelegate` which allows the delegate to receive messages when the pan gesture recognizer starts, updates, cancels, and finishes. The `delegate` property can be set to a class implementing `DirectedPanGestureRecognizerDelegate` and it will receive these messages.
@objc public protocol DirectedPanGestureRecognizerDelegate: UIGestureRecognizerDelegate {
    
    /// Called when the pan gesture recognizer starts.
    optional func directedPanGestureRecognizerDidStart(gestureRecognizer: DirectedPanGestureRecognizer)
