✨Swift 6.2 ✨

SE-0481 is introducing "weak let" to Swift 6.2!

That will allow us to create immutable weak references that can't be reassigned after initialization, but can still become nil when the referenced object is deallocated.

This is a game-changer for Sendable compliance (weak var can't be Sendable, but weak let can!) 🎉

#Swift #iOS #SwiftConcurrency #SwiftLang

https://github.com/swiftlang/swift-evolution/blob/main/proposals/0481-weak-let.md

swift-evolution/proposals/0481-weak-let.md at main · swiftlang/swift-evolution

This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. - swiftlang/swift-evolution

GitHub

My talk at OneMoreThing 2024 on #UnitTesting #SwiftUI and #SwiftConcurrency was recorded, but has yet to be edited and uploaded.
Last night, I published an edited form of my speaker notes from that talk to my blog.

https://blog.rachelbrindle.com/2025/06/12/testing-swiftui-and-swiftconcurrency/

#SwiftLang

Advanced Swift Testing - SwiftUI & Swift Concurrency

Pilot. Software Engineer. Building an Electric Airplane

📣 #iOSDev PSA: new #Xcode26 projects default to Main Actor isolation, which can lead to errors with Sendable types ⚠️

Possible Fixes:
1: Change default isolation
2: Mark type as nonisolated
3: Ignore #SwiftConcurrency 🫣

@mattiem has a great post on default isolation: https://www.massicotte.org/default-isolation-swift-6_2

Quite frankly, if I hadn't read your post before, I probably would've taken a lot longer to figure out why the heck the type in question was MainActor isolated to begin with - thanks Matt! 👏

Don’t miss “What’s New in Swift Concurrency” with Matt Massicotte (@mattiem) at the One More Thing Conference—this Tuesday at 10 AM! Register now: https://lu.ma/jhp3xzx6

#SwiftConcurrency #Swift #OMTConf

🚨 New Premium Workshop!

“Concurrency Fundamentals with Swift 6.2”
w/ @mattiem
🗓️ Sunday, June 8 | 🕐 1–4 PM
📍 Cupertino, CA
🎟️ Sign up: https://buff.ly/R921TWg

Matt Massicotte has taught private workshops for over 60 engineers, and his contributions to Swift Concurrency are widely respected by Apple devs.

Best of all, Matt is generously donating all proceeds to support OMT’s free community programming throughout WWDC week ❤️

#SwiftLang #Swift #AppleDev #SwiftConcurrency #WWDC25

🗓️ Next Saturday, June 7, 11:30am Pacific, 18:30 UTC
Group-learning session focused on use of actors in Swift Concurrency.

#SwiftConcurrency #SwiftDev #iosDev #macOSDev
On the Swift Dev Chat Discord:
https://discord.gg/sGM552KyMn?event=1378456030488301598

Join the Swift Dev Chat Discord Server!

Software developers, hobbyists, and learners, using the Swift programming language. | 207 members

Discord

Reminder: Group learning session on the Swift Dev Chat Discord server.
🗓️ This Saturday, May 24, 11am Pacific, 18:00 UTC.

Participate in “ensemble coding” as we (try to) apply strict Swift Concurrency to an existing open source project (XcInspector—SwiftUI app on macOS, plus command-line tool).
All experience levels welcome—as long as you’re wanting to learn more about programming in Swift.
#SwiftUI #SwiftConcurrency
https://discord.gg/sGM552KyMn?event=1370844232952053852

Join the Swift Dev Chat Discord Server!

Software developers, hobbyists, and learners, using the Swift programming language. | 207 members

Discord

Group learning session on the Swift Dev Chat Discord server.
🗓️ Saturday, May 24, 11am Pacific, 18:00 UTC.

Participate in “ensemble coding” as we (try to) apply strict Swift Concurrency to an existing open source project (XcInspector—SwiftUI app on macOS, plus command-line tool).
All experience levels welcome—as long as you’re wanting to learn more about programming in Swift.
#SwiftUI #SwiftConcurrency
https://discord.gg/sGM552KyMn?event=1370844232952053852

Join the Swift Dev Chat Discord Server!

Software developers, hobbyists, and learners, using the Swift programming language. | 207 members

Discord
Another evening with ModelActor and another strange behavior. This time it's not the way of passing the arguments, but the order of method calling. @mattiem, are you interested? 😅
#Swift #ModelActor #SwiftConcurrency
I didn’t expect to delve so much into Swift Concurrency at this moment, but it was so interesting investigating what’s working and why I just couldn’t resist. 😅 Don’t get me wrong, I still know very little, but at least I could try to explain the async code I’m writing. 😆
#SwiftConcurrency #iOSProgramming