Post

@massicotte.org idea for an article: how to decode JSON in Swift outside a MainActor context. Given the current state of build settings shenanigans, it should be a 3 part series ๐Ÿ˜‚ please save us!

0 reposts2 likes

Stackoverflow says to use `nonisolated` on a method to "send it" to background but not sure if this applies anymore. And creating an entire actor seems overkill, but probably the way to go?

Hahahaha OMG exactly what I was looking for!! You need to add some SEO bait to that article man, it will save so many developers lives Thank you ๐Ÿ™๐Ÿ™