DevPrep

All topics

⚡️ Swift Concurrency (async/await, actors): iOS interview questions

  1. What is async/await and what problem does it solve? Middle PRO
  2. What is structured concurrency? Middle PRO
  3. What is an actor and which data race does it prevent? Senior PRO
  4. What is @MainActor? Middle PRO
  5. What is Sendable and why is it needed? Senior PRO
  6. async let vs TaskGroup — when to use which? Middle PRO
  7. How does task cancellation work? Middle PRO
  8. What is a continuation (withCheckedContinuation) and why? Middle PRO
  9. What's the difference between Task { } and Task.detached { }? Middle PRO
  10. What does Swift 6 strict concurrency checking change? Senior PRO
  11. What is actor reentrancy and why is it dangerous? Senior PRO
  12. How does Task.sleep differ from asyncAfter? Middle PRO

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store