Latest 1.0.1
Homepage https://github.com/ZhipingYang/XYDebugView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

XYDebugView

CI Status
Version
License
Platform

XYDebugView is debug tool to draw the all view’s frame in device screen and show it by 2d/3d style like reveal did.

debug view with 2d

wx20170601-170002 2x wx20170601-170002 2x wx20170601-170002 2x

debug with 3d

wx20170601-170002 2x wx20170601-170002 2x wx20170601-170002 2x

debug specific view with 3d

wx20170601-170002 2x wx20170601-170002 2x wx20170601-170002 2x

Use

Open debug view funtion

> tap the red statusBar to show or destroy the debug result

/**
 开启debug功能,默认使用XYDebugStyle2D对keyWindow进行debug
 */
+ (void)showDebug;

/**
 默认debug对象是keyWindow

 @param debugStyle debug类型
 */
+ (void)showDebugWithStyle:(XYDebugStyle)debugStyle;

/**
 对指定view,采用指定的debug方式

 @param View 指定视图debug
 @param debugStyle debug类型
 */
+ (void)showDebugInView:(nullable UIView *)View withDebugStyle:(XYDebugStyle)debugStyle;

Close debug view funtion

> red statusbar will be dismissed

/**
 关闭debug功能
 */
+ (void)dismissDebugView;

Installation

XYDebugView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "XYDebugView", '~> 1.0.1'

Author

XcodeYang, [email protected]

License

XYDebugView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "XYDebugView",
    "summary": "The tool of UIView to Debug its frame",
    "description": "XYDebugView is debug tool to draw the all views frame in device screen and show it by 2d/3d style like reveal did.",
    "version": "1.0.1",
    "homepage": "https://github.com/ZhipingYang/XYDebugView",
    "license": "MIT",
    "authors": {
        "ZhipingYang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ZhipingYang/XYDebugView.git",
        "tag": "1.0.1"
    },
    "requires_arc": true,
    "source_files": [
        "XYDebugView/**/*.{h,m}"
    ],
    "resources": [
        "XYDebugView/resource/*.{png,xib}"
    ],
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This