     @IBInspectable var bottomInset: CGFloat = 0.0
     @IBInspectable var belowTopGuide: Bool = false
     var direction: Direction = .Left // Direction to which it presents. Dismiss direction defaults to opposite.
+
+    // MARK: - Private functions
 
     private func presentedFrameInContainerView(containerView: UIView) -> CGRect {
         // TODO: Use AutoLayout

        }
    }
    
    var direction: Direction = .Left // Direction to which it presents. Dismiss direction defaults to opposite.
    
    private func animationController() -> TranslationAnimationController {
        let animationController = TranslationAnimationController()


class TranslationTransitioningController: NSObject, UIViewControllerTransitioningDelegate {
    
    // MARK: - Variables

    @IBInspectable var duration: NSTimeInterval = 0.3
    @IBInspectable var leftInset: CGFloat = 0.0
    @IBInspectable var rightInset: CGFloat = 0.0
    @IBInspectable var topInset: CGFloat = 0.0
    @IBInspectable var bottomInset: CGFloat = 0.0
    @IBInspectable var belowTopGuide: Bool = false
    var direction: Direction = .Left // Direction to which it presents. Dismiss direction defaults to opposite.
    
    @IBInspectable var direction_: Int {
        get {
