rezwits
May 6, 2024

--

If you ever feel the need, because of the Swift 6 concurrency checking, to put @MainActor on the function, if that function is gonna hit your UI, go for it, no matter how many times you get warned and it seems like quite a bit. DO IT, it's not gonna hurt it, in fact in my apps it helps...

It seems at first like the Swift 6 check is bossy, but every time or almost every time I found that indeed the next "line" or so we're gonna hit my UI, so I slapped it down... things are smooth!

--

--