✨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