Created
January 19, 2018 11:13
-
-
Save Otbivnoe/268b3d5bcd1297273fdef95e67354442 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ModalTransition: NSObject { | |
var animator: Animator? | |
weak var viewController: UIViewController? | |
init(animator: Animator? = nil) { | |
self.animator = animator | |
} | |
} | |
extension ModalTransition: Transition {} | |
extension ModalTransition: UIViewControllerTransitioningDelegate {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment