Skip to content
Alex Nagy edited this page Mar 22, 2026 · 2 revisions

This tutorial walks through Swift Concurrency in a carefully structured progression:

🥚 Foundations

  1. Why Swift Concurrency exists
  2. Thread vs Task
  3. Queue
  4. Sync vs Async
  5. async / await

🧑‍🍽️ Core Concepts

  1. Main Thread / MainActor
  2. Structured Concurrency
  3. Task
  4. Cancellation

⚡ Parallelism & Coordination

  1. async let
  2. TaskGroup
  3. ThrowingTaskGroup

🔒 Safety & Data Flow

  1. Actor
  2. Actor Reentrancy
  3. Sendable
  4. TaskLocal

🧠 Advanced Control

  1. Task vs Task.detached
  2. Task Priorities

🌊 Streams & Flow

  1. AsyncSequence
  2. Backpressure

⚠️ Real-World Awareness

  1. Advanced Gotchas
  2. Real SwiftUI Patterns

🎓 Wrap-up

  1. How Everything Fits Together
  2. SwiftUI Example

By following this path, you’ll go from:

👉 “Concurrency is confusing 😵” to 👉 “I can reason about async code with confidence 💡”

Clone this wiki locally