I hate it when the #mainactor of a show becomes the story. I always skip those episodes.
It happens a lot on #Murdochmysteries
This is why I have a hard time watching #Absentia season 1: the lead actor is all over the plot๐ค
Latest posts tagged with #MainActor on Bluesky
I hate it when the #mainactor of a show becomes the story. I always skip those episodes.
It happens a lot on #Murdochmysteries
This is why I have a hard time watching #Absentia season 1: the lead actor is all over the plot๐ค
I got buried in #concurrency and had to stop. ๐
The goal was to avoid using the `nonisolated` keyword in the context where #MainActor is the default isolation, but so far, I haven't found a better solution. ๐ค
Here is the first response from the completed request! ๐
It's taking longer than I thought, but I want to implement strict concurrency responsibly. ๐๐ง
At some points, it works with a project that has default isolation set on #MainActor. This is a default setting for #Xcode26, so I have to follow this rule. ๐
#BuildInPublic #Swift
So it begins... ๐
Until now, the package had #MainActor default isolation. This was intentional to gain a clear understanding of where the #Sendable declaration is necessary.
Now, it's time to make this package truly thread-safe! ๐
#BuildInPublic #SwiftPackage #concurrency
Previous problems with Swift Concurrency, in my opinion, stemmed from originally overlooking this crucial assumption. ๐ญ
Now we can set that Default Actor Isolation will rely on #MainActor. This means our entire app will work on the main thread by default. โจ
2/5
I gave it a quick shot in the morning, and once I passed only local variables to the call, the method stopped running on #MainActor. To be sure, I created an assert for my background handler and called it first thing in all methods. I definitely need to read more on #concurrency. ๐
#Swift #Coding
Interesting, I've wrapped some code in `Task { @MainActor in /* code */ }` because I wanted to hide the concurrency warning, and now my app is way faster. I've no idea how, but I'm happy that this is the effect ๐คฃ #swiftlang #concurrency #swift #mainactor #task #indiedev