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

Singleton pattern #50

Closed
eugeniobaglieri opened this issue Feb 23, 2016 · 1 comment
Closed

Singleton pattern #50

eugeniobaglieri opened this issue Feb 23, 2016 · 1 comment

Comments

@eugeniobaglieri
Copy link

Should RZTransitionsManager be used always as a singleton?
I have 2 Separated navigation controller and i want assign a default different transition to each.
Is it possible?

@mr-fixit
Copy link
Contributor

Yes, RZTransitionsManager is a singleton.

To use a different animation for each navigation controller, you call setAnimationController on the singleton, passing in the animation controller, the 'from' VC-class and (optionally) a 'to' VC-class.

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