Tag

Questions tagged “UIKit”

Start from this tag, then add more in the filter bar to narrow further. The URL keeps your choices so you can bookmark or share the same view.

What's the difference between UIView and CALayer?

A UIView owns layout, hit-testing, and events; its backing CALayer owns compositing, visual effects, and Core Animation

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