introduction to structured concurrency
Asked on 06/16/2025
1 search
For an introduction to structured concurrency, you can refer to the session titled "Code-along: Elevate an app with Swift concurrency" from WWDC 2025. This session covers structured concurrency and demonstrates how to use tools such as task groups for more control over concurrent code. You can find the relevant section on structured concurrency starting at the chapter marker Controlling asynchronous code with structured concurrency.
Additionally, the session "Embracing Swift concurrency" provides a comprehensive overview of Swift concurrency, including the introduction of asynchronous tasks and the use of actors to manage concurrency. This session can help you understand the broader context of concurrency in Swift.

Code-along: Elevate an app with Swift concurrency
Learn how to optimize your app’s user experience with Swift concurrency as we update an existing sample app. We’ll start with a main-actor app, then gradually introduce asynchronous code as we need to. We’ll use tasks to optimize code running on the main actor, and discover how to parallelize code by offloading work to the background. We’ll explore what data-race safety provides, and work through interpreting and fixing data-race safety errors. Finally, we’ll show how you can make the most out of structured concurrency in the context of an app.

A Swift Tour: Explore Swift’s features and design
Learn the essential features and design philosophy of the Swift programming language. We’ll explore how to model data, handle errors, use protocols, write concurrent code, and more while building up a Swift package that has a library, an HTTP server, and a command line client. Whether you’re just beginning your Swift journey or have been with us from the start, this talk will help you get the most out of the language.

Embracing Swift concurrency
Join us to learn the core Swift concurrency concepts. Concurrency helps you improve app responsiveness and performance, and Swift is designed to make asynchronous and concurrent code easier to write correctly. We’ll cover the steps you need to take an app through from single-threaded to concurrent. We’ll also help you determine how and when to make the best use of Swift concurrency features – whether it’s making your code more asynchronous, moving it to the background, or sharing data across concurrent tasks.