Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I'm experementing with cross-platform code in my app. And swift6 really pushes on usage of @mainactor on everything UI related.
I see that this package has 0 usage of @mainactor. But google tells me that windows UI framework win32 is not threadsafe and has some dedicated thread for UI. Also this package follow UIKit naming and approach, so I would expect that all UI will be annoted with @mainactor.
Reason for me is simple - my routers already has @mainactor on their methods. So it is just convinience to have windows UI to have @mainactor usage too. And same got to scene and app delegate.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.