Skip to content
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

App is stuck #1

Closed
kristoff2016 opened this issue Nov 30, 2018 · 3 comments
Closed

App is stuck #1

kristoff2016 opened this issue Nov 30, 2018 · 3 comments

Comments

@kristoff2016
Copy link

Hello thank you so much for great plugin

 let controller = UIViewController()
        controller.transitioningDelegate = SPStorkTransitioningDelegate()
        controller.modalPresentationStyle = .custom
        present(controller, animated: true, completion: nil)

controller.transitioningDelegate = SPStorkTransitioningDelegate(): Instance will be immediately deallocated because property 'transitioningDelegate' is 'weak'

I got app stuck when using this code

thank you

@ivanvorobei
Copy link
Owner

ivanvorobei commented Nov 30, 2018

Hi! Thanks for your feedback.

It is not correct. SPStorkTransitioningDelegate deinit only after close controller. You can add code:

deinit {
        print("here")
    }

in SPStorkTransitioningDelegate and see result.
I am close your issue

@kristoff2016
Copy link
Author

Hi,
Any example in programmatically ?

thank you

@ivanvorobei
Copy link
Owner

Yes, please, see repository
Folder example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants