
Swift offers built-in support for asynchronous and concurrent code to help you optimize parallelization of tasks — especially on machines with more cores. With Swift concurrency, you can ensure small tasks that require UI updates can be prioritized while longer tasks continue in the background. Discover how you can started with Swift concurrency, debug your tasks and actors, explore the latest tools, and much more. We’ll also show you how you can optimize the execution of asynchronous and parallel tasks when using Swift concurrency without interacting directly with threads.
Get started
Meet async/await in Swift
Discover concurrency in SwiftUI
Use async/await with URLSession
Meet AsyncSequence
Meet distributed actors in Swift
Visualize and optimize Swift concurrency
Meet Swift Async Algorithms
The Swift Programming Language: Concurrency
Best Practices
Swift concurrency: Update a sample app
Swift concurrency: Behind the scenes
Protect mutable state with Swift actors
Explore structured concurrency in Swift
Eliminate data races using Swift Concurrency
Labels:
Uncategorized