All Questions
1 question
0
votes
1
answer
569
views
Cannot initialize MainActor isolated class from another
I have this little piece of code that won't compile due to Call to main actor-isolated initializer 'init(username:)' in a synchronous nonisolated context.
I don't understand, since as you'll see both ...