Skip to content

Instantly share code, notes, and snippets.

@tylerlantern
Created December 24, 2018 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylerlantern/8c394b955a0dc7981507d5f80db95bbe to your computer and use it in GitHub Desktop.
Save tylerlantern/8c394b955a0dc7981507d5f80db95bbe to your computer and use it in GitHub Desktop.
extension BHMenuTransitionManager : UIViewControllerTransitioningDelegate {
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
return transitionAnimator
}
func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
return transitionAnimator
}
func interactionControllerForDismissal(using animator: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
return nil
}
func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
return nil
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment