 }
 
 class Animator {
+
     var duration: NSTimeInterval {
 
         var duration = 0.0


        present.tasks = tasks
    }

}

extension Manager: UIViewControllerAnimatedTransitioning {
    func animateTransition(context: UIViewControllerContextTransitioning) {
        start(context)
    }

}

extension Manager {

    func setup(context: UIViewControllerContextTransitioning) {
        let fromVC: UIViewController = context.viewControllerForKey(UITransitionContextFromViewControllerKey)!
        let toVC: UIViewController = context.viewControllerForKey(UITransitionContextToViewControllerKey)!
