https://fuckingapproachableswiftconcurrency.com/en/
#ycombinator #Swift #concurrency #async #await #actors #Sendable #MainActor #iOS #macOS #Swift_6 #tutorial #guide
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! ๐
One day I need to learn wtf this @ sendable stuff is that Xcode whines about nowadays. It seems to be something that should be simple that has gone through a concurrent swiftification and instantly become hard to understand and impossible to implement correctly. Everything about concurrency in Swift feels unnecessarily complicated and cursed. Or maybe Iโm just too dumb for for this? Very plausible.
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024
A Deep Dive Into Sendable for the Apple Developer โ by @0xTim โ SwiftCraft 2024