Kavya Sri·1d agoSwift: Why This Closure Printed the Old Value asked by interviewer“Why does this closure print Alex? The variable contains Sam now.”
Mike Salari·1d agoSwift 6 rejected the race. ARC stayed atomic.In Apple Swift 6.3.3, actor isolation and Sendable did not change swift_retain and swift_release. Only -assume-single-threaded made ARC…
Swati Mishra·2d agoHow I Handle Token Refresh and Session Expiration in Swift ConcurrencyThe login screen was easy. Keeping users authenticated safely across concurrent API requests was the real engineering challenge.
Mike Salari·6d agoYou watched the solution. Then you opened an empty editor.Watching someone code can make you feel ready. Live coding exposes the gap between recognition, retrieval, and making your judgment visible…
Tanishq Arora·Oct 22What Is the Responder Chain in iOS? — iOS Interview QuestionEver wonder how a button tap actually gets processed under the hood? That’s the Responder Chain doing its job.
InStackademicbyMobile App Developer·Oct 22The iOS Interview Was Going Well. Then the Candidate Made These Mistakes.“Can you explain the difference between a struct and a class in Swift?”
Mobile App Developer·Oct 20Interviewer: Why [weak self] Couldn't Fix a Retain Cycle. I Had to Rethink ARC.“You added [weak self] to every closure, but the view controller still refused to deallocate. Where is the hidden retain cycle?”
Mike Salari·Oct 20An actor protects state. It does not own every retain and release.Actor isolation, Sendable and ARC answer different questions. In tested Swift 6.3.3 cases, actors and Sendable left swift_retain and…
InLevel Up CodingbyAlok Upadhyay·Oct 19Your Swift Task Was Cancelled. Why Is the Work Still Running?The bug is often not in cancel(). It is in the code that never checks whether cancellation happened.
Kavya Sri·Oct 1610 System Design Interview Questions That Keep Coming Up in Interviews1. Design a payment processing system