What did you do?
I set the Strict Concurrency Checking in my target to Complete.
What did you expect to happen?
No warning when I pass a JSON from an non-main actor to a UIViewController.
What actually happened instead?
Xcode generates an error:
Non-sendable type 'JSON' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
Environment