Top 50 swift Interview Questions
The most frequently asked swift questions across all roles and companies, ranked by real interview frequency. Updated daily.
Implement one operation with callbacks, a Combine-style publisher, and async/await, then verify identical results.
SpeechifyRepresent DoorDash checkout data, calculate pricing, validate payment selection, and process confirmation.
DoorDashDetect directed retain cycles in asynchronous object graphs and return back-edges that should become weak references.
CostarFilter Credit Karma app suggestions by prefix while preserving input order using linear string matching.
Credit KarmaExplain Swift structs vs classes, focusing on value vs reference semantics, memory behavior, and when each is the better design choice.
Scalable Capital
Samsung AdsCCybage SoftwareExplain how ARC manages object lifetimes in iOS and how weak or unowned references prevent retain cycles.
Telus Digital
Carfax
Avenue CodeTests Swift language mastery, closure behavior, and memory management reasoning.
airtelSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Design a maintainable Swift board game with clear domain models, legal move validation, turn management, and testable rules.
Ramp