I've been thinking about this one for a long time. There is subtly here, but I tried my best to keep it short. I don't think you should use MainActor as the default isolation.
I've been thinking about this one for a long time. There is subtly here, but I tried my best to keep it short. I don't think you should use MainActor as the default isolation.
I finished up another in my "Concurrency Step-by-Step" series. This one is about everyone's favorite: protocols!
It also has a sneak peek for a super-secret idea I'm really excited about: regular old classes.
https://www.massicotte.org/step-by-step-conforming-to-protocols
My @swiftconnection talk video is now up! 🤓 https://www.youtube.com/watch?v=oj20mb8c0yI
It still boggles my mind that Xcode's *built in* AI autocomplete keeps suggesting APIs that don't exist.
Like, it's literally sitting on top of a compiler that can determine if an API exists, so why can't it ask the compiler *before* suggesting it?
The entire purpose of autocomplete is to help me find out the real name of hard-to-remember APIs. I'm perfectly capable of *misremembering* them by myself, I don't need the computer to do it for me
I have been having such a good time with #iOS26 keyboard /s.
If you have text prediction enabled and an inputAccessoryView set you’re bound to incorrect keyboard sizing reported (FB20366458) and even the whole app hanging if you use safe areas in it (FB20703137).
Example: open WhatsApp, set focus on the message bar to show the keyboard, then long press a message to add a reaction. The keyboard dismisses and comes back with wrong sizing, making the content scroll behind the keyboard.
This whole perspective of hiding highly used buttons behind menus and “more” buttons in iOS26 just so I gain a barely noticeable amount of “content” is quite frustrating
Swift 6.2 is here, including so much 🆕🥳:
⏩Approachable concurrency
🦺Opt-in strict memory safety
📦WebAssembly support
🏃Faster build perf for macros
🐞Enhanced async debugging
📚Inline stack-based arrays
🚇Subprocess support
🧪Test result attachments
https://www.swift.org/blog/swift-6.2-released/
I took a moment to update my Swift Concurrency glossary. Refined some commentary, added more links, and updated things for 6.2.
Building stuff on closed source broken API is so incredibly frustrating. Dunno how @krzyzanowskim still manages. https://blog.krzyzanowskim.com/2025/08/14/textkit-2-the-promised-land/
I've just noticed that the official Swift language guide has been updated to include a number of additional topics on concurrency. There's still a long way to go here, but this is good progress!
(It also uses "split isolation" in an example: a type with different isolation than its members. Has uses, but is a mistake 99% of the time)
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/concurrency#Isolation
@finestructure ok, I’m convinced to give it a go, thanks!
@josevalim very nice! Different platform but @steipete was offering some Swift related md files for the community. I believe he had a crawler pulling it from Apple’s (incomplete) documentation, which is very nice of him. Super handy to get the agents up to speed too like your solution for Elixir
More progress around Erlang/Swift interoperability
https://forums.swift.org/t/introducing-swift-erlang-actor-system/81248
Hi, fellow #Swift developer. If you have a few minutes, and an opinion about the SE-0466 amendment in review on the Swift Evolution forums, I would appreciate a hand in convincing the language designers that it should be fixed before it ships in Swift 6.2. As I see it, it's all about preventing foreseeable problems, but multiple pairs of eyes always help building an educated opinion. The review ends today.
https://forums.swift.org/t/amendment-se-0466-control-default-actor-isolation-inference/80994/7
cc @mattiem
@timonus wow. That’s an ugly icon.
@rockbruno parabéns! De fato é uma das maiores conquistas para imigrantes, o pertencimento.
In professional news, I re-pitched a feature today that I’ve been tinkering with since I was a guy: https://forums.swift.org/t/pitch-module-selectors/80835
Ever wondered how much in costs to run a conference? Here's the breakdown of 2024s conference with numbers for everything. Hopefully this helps those thinking about it and lets people know what really goes on behind the scenes https://www.timc.dev/posts/the-cost-of-running-a-conference/
Announcing the Swift on Android Working Group, with the goal of establishing and maintaining Android as an officially supported platform for Swift. More here: https://forums.swift.org/t/announcing-the-android-workgroup/80666 #android
Someone who works on YouTube needs to realize that bilingual people exist. For a while now the app insists in translating video titles from Portuguese to English (I use my devices in English). If I change the language to Portuguese, it then translates video titles from English to Portuguese. I just want to see the original content as it was posted by the creator. And now it's even auto-enabling AI dubbing 🤦🏻♂️ Give me a checkbox to turn this off, please!