⚡️ Swift Concurrency (async/await, actors): iOS interview questions
- What is async/await and what problem does it solve? Middle PRO
- What is structured concurrency? Middle PRO
- What is an actor and which data race does it prevent? Senior PRO
- What is @MainActor? Middle PRO
- What is Sendable and why is it needed? Senior PRO
- async let vs TaskGroup — when to use which? Middle PRO
- How does task cancellation work? Middle PRO
- What is a continuation (withCheckedContinuation) and why? Middle PRO
- What's the difference between Task { } and Task.detached { }? Middle PRO
- What does Swift 6 strict concurrency checking change? Senior PRO
- What is actor reentrancy and why is it dangerous? Senior PRO
- 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