         return PopKitPresentationController(presentedViewController: presented, presenting: presenting, popView: popKit!.popupView)
     }
     
-//    func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
-//        return PopKitPresentationAnimator(with: popKit!.inAnimation)
-//    }
-//
-//    func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
-//        return PopKitDismissingAnimator(with: popKit!.outAnimation)
-//    }
+    func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+        return PopKitPresentationAnimator(with: popKit!.inAnimation)
+    }
+
+    func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
+        return PopKitDismissingAnimator(with: popKit!.outAnimation)
+    }
 }
 
 class PopKitPresentationController: UIPresentationController {

    }
    
    func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
        transitionContext.completeTransition(true)
    }
}


class PopKitPresentationAnimator: NSObject, UIViewControllerAnimatedTransitioning, TransitionDuration {
    var inAnimation: PopKitAnimation = .fromTop
    var transitionDuration: TimeInterval?
    var isPresentation = true
    
    init(with animation: PopKitAnimation) {
        inAnimation = animation
