• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

ScreenShot

Use

Run in Online iPhone Simulator

Open debug view funtion

tap the red statusBar to show or destroy the debug result

// XYDebugViewManager

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

/**
 debug the keyWindow
 */
+ (void)showDebugWithStyle:(XYDebugStyle)debugStyle;

/**
 debug specific view

 @param View the view to debug layout
 @param debugStyle 2d/3d
 */
+ (void)showDebugInView:(nullable UIView *)View withDebugStyle:(XYDebugStyle)debugStyle;

Close debug view funtion

dismiss red statusBar & remove debugging

// XYDebugViewManager

/**
 close debug function
 */
+ (void)dismissDebugView;

debug view with 2d

debug with 3d

  • support gestures
    • single touch pan: to rotate view angle
    • double touches pan: move the position
    • rotation: rotate z axis
    • pinch: zoom
  • recover to init Transform
  • other transform
    • change distance between layers (zPosition)
    • prominently the specific layer (alpha)
    • change perspective effect drawings (m34)

debug specific view with 3d

Installation

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

pod "XYDebugView", '~> 1.0.1'

GitPage

https://zhipingyang.github.io/XYDebugView

TODO

  • 添加呈现中的视图列表,选择性debug
  • 改进任意角度的m34值修改
  • 添加 ARKit
  • 修复特殊字符显示问题

Author

XcodeYang, [email protected]

License

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

More Repositories

1

UUChatTableView

Cocoa UI component for group or private chat bubbles with text, images and audio support
Objective-C
1,901
star
2

XYChart

XYChart is designed for line & bar of charts which can compare mutiple datas in form styles, and limited the range of values to show, and so on.
Objective-C
714
star
3

VerticalTree

🥶Provides a vertical drawing of the tree structure which can view information about the tree‘s nodes and supports console debug views & layers and so on
Swift
66
star
4

FORScrollViewEmptyAssistant

UITableView/UICollectionView superclass for showing empty datasets whenever the view has no content to display
Objective-C
58
star
5

UUKeyboardInputView

It helps some viewes,like button、cell、segment, which cann't respond those inputView as textField or texeView them do.
Objective-C
52
star
6

dingtalk_check_in

钉钉早上自动打卡 😂 😂 😂
Objective-C
42
star
7

FlappyBird

SpriteKit and external-display
Swift
26
star
8

XYPhotoKit

照片选择库,提供拍照和相册两种方式,支持单选多选,数据层是PhotoKit
Objective-C
26
star
9

WX_MultiTabList

微信小程序,多个Tab列表的上下拉刷新方案
JavaScript
26
star
10

UIKitDynamics

UIKit Dynamic UIDynamicAnimator UIDynamicBehavior
Objective-C
15
star
11

Einstein

Einstein is an UITest framework that integrates the logic across the Project and UITest through AccessibilityIdentified. And in UITest, using it to better support test code writing.
Swift
15
star
12

FORGestureTrackDisplay

FORGestureTrackDisplay is debug tool to displaying and tracking all kinds of gustures when user touch the screen.
Objective-C
8
star
13

UIAnimation

Objective-C
3
star
14

aboutMe

JavaScript
2
star
15

zhipingyang.github.io

Swift...Swift...Swift...😄...😄...😄 ! ! !
CSS
1
star