Daily iOS
SwiftUI요기요interview report

SwiftUI async MainActor state

A SwiftUI order list ViewModel calls an async API and then changes the screen state with the result. Under Swift 6 strict concurrency, which part of this ViewModel would you isolate with @MainActor?

Submit