Chap 1, still main thread publishing errors

even in the final code, especially rocking back and forth between list and ticker views.

Screen Shot 2022-10-21 at 2.51.27 PM

Welcome back to Forums, @prenez01 ! Could you provide more details on your Xcode and Swift versions?

I think heโ€™s saying going back and forth between the app screens would sometimes update the UI from a background thread. This is due to changes in how threads are managed in iOS16/macOS13. Weโ€™ll be addressing this in a next edition.

1 Like

I added @MainActor to LittleJohnModel class can solve the problem by referencing this thread

1 Like

I also have facing the same problem.