Topic

UIKit interview questions

View lifecycle, rendering performance, diffable data sources, and the UIKit architecture trade-offs still common in production codebases.

Focus areas: View lifecycle, rendering, diffable data sources, and UIKit architecture

What is UIResponder?

Follow a single tap from the button that was pressed up to the app delegate, and use that walk to explain first responder, nil-targeted actions, and why hit-testing is a separate step

What is the UIViewController lifecycle and when is each method called?

Walk through every important UIViewController lifecycle callback, explain its purpose, show the call order with print(#function), and clarify where to put subview setup, constraints, and observation

What's the difference between frame and bounds in iOS?

Explain how frame and bounds describe the same view from two different coordinate systems, then connect that model to layout, transforms, and scrolling