// // UIViewController+StatusTableViewCellDelegate.swift // Tusker // // Created by Shadowfacts on 8/27/18. // Copyright © 2018 Shadowfacts. All rights reserved. // import UIKit extension UIViewController: UIViewControllerTransitioningDelegate { public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? { return nil // if presented is LargeImageViewController { // return LargeImageExpandAnimationController() // } else { // return nil // } } public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { return nil // if let dismissed = dismissed as? LargeImageViewController { // return LargeImageShrinkAnimationController(interactionController: dismissed.dismissInteractionController) // } else { // return nil // } } public func interactionControllerForDismissal(using animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? { return nil // if let animator = animator as? LargeImageShrinkAnimationController, // let interactionController = animator.interactionController, // interactionController.inProgress { // // return interactionController // } else { // return nil // } } }