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

Document stipulations on usage of state during routing #31

Open
ianterrell opened this issue Mar 2, 2017 · 0 comments
Open

Document stipulations on usage of state during routing #31

ianterrell opened this issue Mar 2, 2017 · 0 comments

Comments

@ianterrell
Copy link
Contributor

Since routing through an app can be asynchronous in order to wait for animations, the state may have changed since the route was initiated.

So, for instance, in NavigationControllerMetaCoordinator's call func coordinators(for route: Route) -> [AnyCoordinator], it is not possible to rely on the state in order to know what coordinators to create. It must be done from the route alone.

This has an impact on how your state should be created.

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

1 participant