Modern Swift Concurrency Bootcamp
Modern Swift concurrency gives iOS apps a safer way to perform asynchronous work. This section covers async/await, tasks, task groups, continuations, actors, Sendable, MainActor, AsyncPublisher, AsyncStream, and SwiftUI features that depend on async code.
These pages are original Swift Rivals study notes for iOS developers. Each lesson includes a focused explanation, a Swift example, common mistakes, and practice ideas.
How To Study This Section
- Start with the lesson overview and key takeaways.
- Read the Swift Rivals explanation to reinforce the concept.
- Type the example by hand instead of copying it.
- Complete at least one practice idea before moving on.
References
Lessons
- 0. Learn Swift Concurrency (Async, Await, Actors)
- 1. How to use Do, Try, Catch, and Throws in Swift
- 2. Download images with Async/Await, @escaping, and Combine
- 3. How to use async / await keywords in Swift
- 4. How to use Task and .task in Swift
- 5. How to use Async Let to perform concurrent methods in Swift
- 6. How to use TaskGroup to perform concurrent Tasks in Swift
- 7. How to use Continuations in Swift (withCheckedThrowingContinuation)
- 8. Swift: Struct vs Class vs Actor, Value vs Reference Types, Stack vs Heap
- 9. How to use Actors and non-isolated in Swift
- 10. How to use Global Actors in Swift (@globalActor)
- 11. What is the Sendable protocol in Swift?
- 12. How to use AsyncPublisher to convert @Published to Async / Await
- 13. How to manage strong & weak references with Async Await
- 14. How to use MVVM with Async Await
- 15. How to use Refreshable modifier in SwiftUI
- 16. How to use Searchable, Search Suggestions, Search Scopes in SwiftUI
- 17. How to use PhotosPicker in SwiftUI & PhotosUI
- 18. How to use AsyncStream in Swift
- 19. How to use MainActor with Observable Macro in SwiftUI
Last updated: June 27, 2026