When did Tasks not require capturing self explicitly anymore?

Asked on 06/14/2025

1 search

Tasks no longer require capturing self explicitly starting with Swift 6. This change is part of the improvements in Swift concurrency, which were discussed in the session titled "Migrate your app to Swift 6" at WWDC 2024. The session covers various aspects of Swift 6, including data-race safety and concurrency features. You can find more details in the chapter on "Enabling complete checking in the watch extension" and "Enabling the Swift 6 language mode in CoffeeKit" within the session.

When did Tasks not require capturing self explicitly anymore? | Ask WWDC