     }
 
     func didPan(gesture: UIPanGestureRecognizer) {
-
         switch (gesture.state) {
             case .Began:
                 break

                    break
                case .Cancelled:
                    previousTouchLocation = nil
                    break
            }
        }
    }

    /***/
    private var transitionProgress: CGFloat = 0.0 {
        didSet {
            // Calculate how much of the bottom and top screenshots have been scrolled off-screen

import UIKit


public class SplitTransition: UIPercentDrivenInteractiveTransition {

    public enum TransitionType {
        case Push
        case Pop
        case Interactive
    }

    enum TransitionState {
        case Initial
        case Finished
        case Cancelled
    }

    /**
     * The duration (in seconds) of the transition.
     */
