iOS development and debugging tools

A development and debugging iOS gadgets, see specific github.com/icofans/TTC...

Context switching

Convenient during development and debugging environment to switch, you need to restart to take effect after the handover, when you start reading the current configuration, and then switch to configure the project environment

Network requests

App within the network to intercept requests to view request details of the specific content, convenient debugging process monitoring

Debug Log

View debugging generated in the App log information

Collect crash

The collapse of the collection, display information about the crash stack

Browser Sandbox

Browse sandbox files for easy viewing files created in the development process, currently only supports viewing plist, pictures, text details of the class

installation

pod 'TTConsole'
复制代码

use

在 - (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 方法注册

#if DEBUG
    [[TTConsole console] enableDebugMode];
    NSLog(@"[当前启动环境为%@]",@[@"内网测试", @"外网测试", @"外网生产"][[TTConsole console].currentEnvironment]);
#endif
复制代码

After the start of the project status bar to enter the main interface debugging


Guess you like

Origin blog.csdn.net/weixin_33806300/article/details/91368046