{"id":21700713,"url":"https://github.com/zhipingyang/xydebugview","last_synced_at":"2025-04-12T13:34:53.560Z","repository":{"id":56928594,"uuid":"92358060","full_name":"ZhipingYang/XYDebugView","owner":"ZhipingYang","description":"XYDebugView is debug tool to draw the all view's frame in device screen and show it by 2d/3d style like reveal did.","archived":false,"fork":false,"pushed_at":"2023-02-28T01:44:30.000Z","size":4838,"stargazers_count":101,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-26T08:11:09.115Z","etag":null,"topics":["3d-style","debug","debugview","draw","reveal"],"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/ZhipingYang.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":"2017-05-25T02:49:06.000Z","updated_at":"2024-10-25T07:23:48.000Z","dependencies_parsed_at":"2022-08-21T06:20:28.217Z","dependency_job_id":null,"html_url":"https://github.com/ZhipingYang/XYDebugView","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhipingYang%2FXYDebugView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhipingYang%2FXYDebugView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhipingYang%2FXYDebugView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhipingYang%2FXYDebugView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZhipingYang","download_url":"https://codeload.github.com/ZhipingYang/XYDebugView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573794,"owners_count":21126905,"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":["3d-style","debug","debugview","draw","reveal"],"created_at":"2024-11-25T20:16:25.507Z","updated_at":"2025-04-12T13:34:53.537Z","avatar_url":"https://github.com/ZhipingYang.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg width=\"150\" src =\"https://user-images.githubusercontent.com/9360037/34412301-5c2cf4fe-ec17-11e7-8f1b-f487b4cd6218.png\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.org/ZhipingYang/XYDebugView\"\u003e\n\t\t\u003cimage alt=\"CI Status\" src=\"http://img.shields.io/travis/ZhipingYang/FORScrollViewEmptyAssistant.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/XYDebugView\"\u003e\n\t\t\u003cimage alt=\"Version\" src=\"https://img.shields.io/cocoapods/v/XYDebugView.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/XYDebugView\"\u003e\n\t\t\u003cimage alt=\"License\" src=\"https://img.shields.io/cocoapods/l/XYDebugView.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/XYDebugView\"\u003e\n\t\t\u003cimage alt=\"Platform\" src=\"https://img.shields.io/cocoapods/p/XYDebugView.svg?style=flat\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e **[XYDebugView](https://zhipingyang.github.io/XYDebugView)** is debug tool to draw the all view's frame in device screen and show it by 2d/3d style like [Reveal](https://revealapp.com/) did.\n\n## ScreenShot\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=33% src=\"https://user-images.githubusercontent.com/9360037/34407789-45fd3d5e-ebfb-11e7-91ca-71eefd1fc97c.png\"\u003e \u003cimg width=33% src=\"https://user-images.githubusercontent.com/9360037/34407792-46d402ee-ebfb-11e7-8776-5e11c6564cbe.png\"\u003e\n\u003cimg width=33% src=\"https://user-images.githubusercontent.com/9360037/34407800-480a2ee0-ebfb-11e7-9ccf-7e945ca5d88d.png\"\u003e\n\u003c/p\u003e\n\n## Use\n\nRun in [Online iPhone Simulator](https://zhipingyang.github.io/XYDebugView)\n\n**Open debug view funtion**\n\u003e tap the red statusBar to show or destroy the debug result\n\n```objective-c\n// XYDebugViewManager\n\n/**\n 开启debug功能，默认使用XYDebugStyle2D对keyWindow进行debug\n */\n+ (void)showDebug;\n\n/**\n debug the keyWindow\n */\n+ (void)showDebugWithStyle:(XYDebugStyle)debugStyle;\n\n/**\n debug specific view\n\n @param View the view to debug layout\n @param debugStyle 2d/3d\n */\n+ (void)showDebugInView:(nullable UIView *)View withDebugStyle:(XYDebugStyle)debugStyle;\n```\n\n**Close debug view funtion**\n\u003e dismiss red statusBar \u0026 remove debugging\n\n```objective-c\n// XYDebugViewManager\n\n/**\n close debug function\n */\n+ (void)dismissDebugView;\n```\n\n\n## debug view with 2d\n\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407789-45fd3d5e-ebfb-11e7-91ca-71eefd1fc97c.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407791-469feae0-ebfb-11e7-8ac1-6f6c4aee9c91.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407792-46d402ee-ebfb-11e7-8776-5e11c6564cbe.png\"\u003e\n\n## debug with 3d\n\n- support gestures\n\t- single touch pan: to rotate view angle\n\t- double touches pan: move the position\n\t- rotation: rotate z axis\n\t- pinch: zoom\n- recover to init Transform\n- other transform\n\t- change distance between layers (zPosition)\n\t- prominently the specific layer (alpha)\n\t- change perspective effect drawings (m34)\n\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407800-480a2ee0-ebfb-11e7-9ccf-7e945ca5d88d.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407803-4874991a-ebfb-11e7-9a84-c59e0a220077.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407806-4910dc1c-ebfb-11e7-9adb-a1360ea617ed.png\"\u003e\n\n## debug specific view with 3d\n\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407793-4707e82a-ebfb-11e7-83c0-104e88a087b7.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407795-4739fd38-ebfb-11e7-9722-318268ce73e1.png\"\u003e \u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/9360037/34407805-48dc4c5e-ebfb-11e7-9dd7-5768d6976f29.png\"\u003e\n\n\n## Installation\n\nXYDebugView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"XYDebugView\", '~\u003e 1.0.1'\n```\n\n## GitPage\n\nhttps://zhipingyang.github.io/XYDebugView\n\n## TODO\n\n- [ ] 添加呈现中的视图列表，选择性debug\n- [ ] 改进任意角度的m34值修改\n- [ ] 添加 ARKit\n- [ ] 修复特殊字符显示问题\n\n## Author\n\nXcodeYang, xcodeyang@gmail.com\n\n## License\n\nXYDebugView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipingyang%2Fxydebugview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhipingyang%2Fxydebugview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipingyang%2Fxydebugview/lists"}