{"id":15570653,"url":"https://github.com/keith/ksdebuglayer","last_synced_at":"2025-06-14T19:36:41.400Z","repository":{"id":25410575,"uuid":"28839589","full_name":"keith/KSDebugLayer","owner":"keith","description":"A CALayer subclass for debugging animations","archived":false,"fork":false,"pushed_at":"2015-06-19T14:27:47.000Z","size":284,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T02:52:37.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-06T00:50:12.000Z","updated_at":"2019-09-01T06:06:19.000Z","dependencies_parsed_at":"2022-08-21T03:50:46.162Z","dependency_job_id":null,"html_url":"https://github.com/keith/KSDebugLayer","commit_stats":null,"previous_names":["keithbsmiley/ksdebuglayer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keith%2FKSDebugLayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keith%2FKSDebugLayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keith%2FKSDebugLayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keith%2FKSDebugLayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keith","download_url":"https://codeload.github.com/keith/KSDebugLayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240367163,"owners_count":19790207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:43:20.430Z","updated_at":"2025-02-23T19:27:04.078Z","avatar_url":"https://github.com/keith.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KSDebugLayer\n\n[![Build Status](https://travis-ci.org/keith/KSDebugLayer.svg?branch=master)](https://travis-ci.org/keith/KSDebugLayer)\n\nA `CALayer` subclass to visualize the `anchorPoint` and `bounds` of\nthe layer. Specifically useful for handling off-center animations.\n\n![](https://raw.githubusercontent.com/Keithbsmiley/KSDebugLayer/master/Example/ExampleTests/screenshot.png)\n\n## Example iOS Usage\n\nIn your `UIView` subclass while debugging:\n\n```objective-c\n+ (Class)layerClass\n{\n    return [KSDebugLayer class];\n}\n```\n\n## Example OS X Usage\n\nOn the desired `NSView` while debugging:\n\n```objective-c\nview.layer = [KSDebugLayer layer];\n[view updateLayer];\n```\n\n### Resources\n\n- \u003chttps://developer.apple.com/library/ios/qa/qa1509/_index.html\u003e\n- \u003chttp://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics\u003e\n- \u003chttp://stackoverflow.com/questions/17671398/visualizing-the-anchor-point-of-a-uiimageview/17673965#17673965\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeith%2Fksdebuglayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeith%2Fksdebuglayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeith%2Fksdebuglayer/lists"}