Giter Site home page Giter Site logo

wmdebugassistant's Introduction

WMDebugAssistant

image

作用

   在自己的应用中,实时监测CPU,内存,网络下载,fps的状态,帮助开发定位。    等于XCode 调试时候的 debeg 功能,但是能在发布时候使用。    有效定位 手机发烫,内存泄露,浪费流量,界面卡顿等问题。

image

pod使用

pod 'WMDebugAssistant' ,:git=>"https://github.com/roronoaxyz/WMDebugAssistant.git", :tag => '0.1.2'

悬浮球 添加在第一个界面生成后  因为它本身是个 UIWindow

iOS代码

@property (strong, nonatomic) WMAssistantBall *assistantBall;

self.assistantBall = [[WMAssistantBall alloc] init];//一定要作为一个局部属性
self.assistantBall.addtionItems = @[@"暗门", @"接口数", @"网络", @"日志"];     //额外加一些按钮
self.assistantBall.ballColor = [UIColor blueColor];       //按钮颜色
self.assistantBall.shapeColor = [UIColor redColor];           //移动时的光圈颜色
[self.assistantBall doWork];              //很重要 一定要调用

//点击了某一个选项
self.assistantBall.selectBlock = ^(NSString *title, UIButton *button) {
    NSLog(@"%@", title);
};

   //历史数据曲线图    [self.assistantBall makeChart:1 pCtrl:self];

Author

Thomas, [email protected]

License

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

wmdebugassistant's People

Contributors

roronoaxyz avatar

Watchers

James Cloos avatar JXT avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.