Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/ksdebuglayer
A CALayer subclass for debugging animations
https://github.com/keith/ksdebuglayer
Last synced: 3 days ago
JSON representation
A CALayer subclass for debugging animations
- Host: GitHub
- URL: https://github.com/keith/ksdebuglayer
- Owner: keith
- License: mit
- Created: 2015-01-06T00:50:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-19T14:27:47.000Z (over 9 years ago)
- Last Synced: 2024-10-12T06:08:25.655Z (about 1 month ago)
- Language: Objective-C
- Homepage:
- Size: 277 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KSDebugLayer
[![Build Status](https://travis-ci.org/keith/KSDebugLayer.svg?branch=master)](https://travis-ci.org/keith/KSDebugLayer)
A `CALayer` subclass to visualize the `anchorPoint` and `bounds` of
the layer. Specifically useful for handling off-center animations.![](https://raw.githubusercontent.com/Keithbsmiley/KSDebugLayer/master/Example/ExampleTests/screenshot.png)
## Example iOS Usage
In your `UIView` subclass while debugging:
```objective-c
+ (Class)layerClass
{
return [KSDebugLayer class];
}
```## Example OS X Usage
On the desired `NSView` while debugging:
```objective-c
view.layer = [KSDebugLayer layer];
[view updateLayer];
```### Resources
-
-
-