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

You don't save state of path in Coordinator #1

Open
sofbix opened this issue May 29, 2023 · 1 comment
Open

You don't save state of path in Coordinator #1

sofbix opened this issue May 29, 2023 · 1 comment

Comments

@sofbix
Copy link
Contributor

sofbix commented May 29, 2023

SwiftUI recreate Coordinator every time when changed state of the ContentView, becase @ObserverObject is reference type of an Observing.
You need change this property wrapper or store coordinator external (not in a View, like it is using with iOS 13 supporting)&
I'il make the pull request for this issue

@sofbix
Copy link
Contributor Author

sofbix commented May 29, 2023

That's it #2

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