CALayer
subclasses?Suggested approach: This is an intermediate to advanced question aimed at folks with UIKit experience. You could choose from CAGradientLayer
, CATiledLayer
, CAEmitterLayer
, CAShapeLayer
, and more – they are all quite popular on Apple's platforms.
If I were you, I'd list off a few different subclasses, but then pick one and try to provide more detail on how it works and why it exists.
Estimated difficulty: Advanced
See the full list of iOS interview questions
Link copied to your pasteboard.