A CALayer
subclass to visualize the anchorPoint
and bounds
of
the layer. Specifically useful for handling off-center animations.
In your UIView
subclass while debugging:
+ (Class)layerClass
{
return [KSDebugLayer class];
}
On the desired NSView
while debugging:
view.layer = [KSDebugLayer layer];
[view updateLayer];