DevPrep

All topics

🦅 Modern Swift: iOS interview questions

  1. some vs any (opaque types vs existentials)? Senior PRO
  2. What is a property wrapper? Middle PRO
  3. What is a result builder? Middle PRO
  4. What are macros (Swift 5.9+)? Senior PRO
  5. generics and associated types — why? Middle PRO
  6. How does ARC work and when do retain cycles occur? Middle PRO
  7. value type vs reference type — how to choose? Middle PRO
  8. What is typed throws (Swift 6)? Senior PRO
  9. What is an existential container (any P)? Why is any costlier than T: P? Senior PRO
  10. Witness table vs vtable — what's the difference? Senior PRO
  11. How does the Swift compiler optimize calls (devirtualization, WMO)? Senior PRO
  12. 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