-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initializer for conditional binding must have optional type, not 'UIView' #5
Comments
Its a swift 3 issue, I am too, also hopeful for a solution to the issue. |
Maybe move the And for the
|
what is MenuHelper? |
MenuHelper is just some file that tries to abstract the transition animation code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I am trying to simply run this project but getting an error "Initializer for conditional binding must have optional type, not 'UIView'" in DismissAnimator.swift on the line of "let containerView = transitionContext.containerView":
func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { guard let fromVC = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.from), let toVC = transitionContext.viewController(forKey: UITransitionContextViewControllerKey.to), let containerView = transitionContext.containerView else { return }
How do I fix that? Thanks!
The text was updated successfully, but these errors were encountered: