iOS interview questions reported at PhonePe

3 questions candidates reported being asked at PhonePe. Anonymous and unverified, so treat it as a hint of what to expect.

They cover Swift language, Memory, ARC & runtime, Networking. Every question below links to a full answer with the common traps and the follow-ups an interviewer is likely to ask, so you can practise the way the interview goes: answer first, then defend it.

  1. What does a capture list like [weak self], [unowned self], [self], or [foo] actually do? 1.5.4
  2. What is a retain cycle, and how do you find and fix one? 3.3.1
  3. How do TLS and App Transport Security protect a request, and what is certificate pinning, and why is it fraught? 12.2.2