🦅 Modern Swift: iOS interview questions
- some vs any (opaque types vs existentials)? Senior PRO
- What is a property wrapper? Middle PRO
- What is a result builder? Middle PRO
- What are macros (Swift 5.9+)? Senior PRO
- generics and associated types — why? Middle PRO
- How does ARC work and when do retain cycles occur? Middle PRO
- value type vs reference type — how to choose? Middle PRO
- What is typed throws (Swift 6)? Senior PRO
- What is an existential container (any P)? Why is any costlier than T: P? Senior PRO
- Witness table vs vtable — what's the difference? Senior PRO
- How does the Swift compiler optimize calls (devirtualization, WMO)? Senior PRO
- What is SIL and how is stack vs heap decided? Senior 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