EventLogger 0.6.0

EventLogger 0.6.0

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最后发布2016年4月

Yourtion Guo维护。




  • 作者
  • Yourtion

在iOS中记录事件数量和事件时间

安装

首选的安装方式是通过CocoaPods。只需添加

pod 'EventLogger'

并运行pod install。这将安装EventLogger的最新版本。

如何使用

导入头文件

导入您想要记录事件的头文件

#import "EventLogger.h"

记录事件数量

[[EventLogger sharedInstance] addCountEventWithTag:@"click_clean"];

记录事件时间

开始记录EventCount2

[[EventLogger sharedInstance] addCountEventWithTag:@"EventCount2"];

从事件开始记录EventCount2时间;

[[EventLogger sharedInstance] addTimeEventPoint:@"e12" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@nil];

从点e12记录EventCount2时间;

[[EventLogger sharedInstance] addTimeEventPoint:@"e13" withTag:@"TimeEven1" andInfo:nil timeFromPoint:@"e12"];

就是这样!享受使用EventLogger吧!

屏幕截图

ScreenShot1