🏗 Design patterns: iOS interview questions
- Observer Junior PRO
- Delegation Junior PRO
- Singleton Junior PRO
- Lazy initialization Junior PRO
- Abstract Factory Middle PRO
- Factory Method Middle PRO
- Delegate, closure, Combine or AsyncSequence: how do you choose a callback channel? Middle PRO
- Builder: why use it in Swift when you have default parameters? Middle PRO
- Strategy: how do you swap an algorithm without if/switch all over the code? Middle PRO
- Adapter and Facade: how do you isolate a third-party SDK? Middle PRO
- Decorator: how do you add caching, logging or retries without changing the class? Middle PRO
- How do you gradually remove singletons from legacy code and move to DI? 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