Skip to content

keith/KSDebugLayer

Repository files navigation

KSDebugLayer

Build Status

A CALayer subclass to visualize the anchorPoint and bounds of the layer. Specifically useful for handling off-center animations.

Example iOS Usage

In your UIView subclass while debugging:

+ (Class)layerClass
{
    return [KSDebugLayer class];
}

Example OS X Usage

On the desired NSView while debugging:

view.layer = [KSDebugLayer layer];
[view updateLayer];

Resources

About

A CALayer subclass for debugging animations

Resources

License

Stars

Watchers

Forks

Packages

No packages published