UIView and CALayer
How do UIView and CALayer relate to each other, and why are their roles split?
How do UIView and CALayer relate to each other, and why are their roles split?
UIView is a thin wrapper that handles events, layout, and responder duties, while the backing CALayer does the actual drawing, compositing, and animation. The view owns its layer rather than subclassing it.
UIKitShort answerExpert
In a UIKit list, you applied layer.cornerRadius plus masksToBounds plus shadow to cells…
#core-animation #rendering
UIKitShort answerExpert
A view animates across the screen over 3 seconds with a UIView animation. Tapping it…
#core-animation
UIKitMultiple choiceExpert
In one cycle of the main run loop, what's the correct order of the passes UIKit runs to…
#core-animation
UIKitMultiple choiceAdvanced
When you add layer effects like gradients, shadows, and animations to reusable UIKit…
#calayer