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

Mark global navigation as @MainActor to avoid data-race safety issues #173

Closed
wants to merge 2 commits into from

Conversation

Jeehut
Copy link
Contributor

@Jeehut Jeehut commented Jul 29, 2024

This fixes #172.

This can be considered a first step into #165 to make the SDK ready for Swift 6 mode. To make sure we keep the data-race safety for the navigation path, I've additionally turned on strict-concurrency-checking, which also gives us warnings for all the places that will become errors in Swift 6 mode.

Note that I have also added an .editorconfig file in this PR to codify the existing indentation config in the project. See my tweet to learn more about this new feature in Xcode 16: https://x.com/Jeehut/status/1817931035872751744

@winsmith
Copy link
Contributor

Fantastic work as always, and https://editorconfig.org is indeed very cool!

@Jeehut
Copy link
Contributor Author

Jeehut commented Aug 12, 2024

Awesome. Closing this as it's superseded by #174 which I just merged.

@Jeehut Jeehut closed this Aug 12, 2024
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

Successfully merging this pull request may close these issues.

Add MainActor Annotation an Shared Navigation Path Singleton
2 participants