/ZZDebug

一个简单的iOS监测App运行时NSLog输出可视化工具

Primary LanguageObjective-CMIT LicenseMIT

介绍

iOS APP内监测NSLog输出可视化工具

安装

CocoaPods

target 'YourTargetName' do
    pod 'ZezeDebug', :configurations => ['Debug']
end

使用

Objective-C

//AppDelegate.m

#ifdef DEBUG
#import "ZZDebug.h"
#endif

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{
	self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
	[self.window makeKeyAndVisible];
	#ifdef DEBUG
    	[[ZZDebug shareInstance]enable];
	#endif
}

问题反馈

有问题请及时反馈到zezefamily@163.com