Log event count and event time in iOS
Objective-C Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
EventLogger.xcodeproj
EventLogger.xcworkspace
EventLogger
EventLoggerDemo
EventLoggerTests
ScreenShot
.gitignore
.travis.yml
EventLogger.podspec
LICENSE
README.md

README.md

EventLogger

Version License Platform Build Status

Log event count and event time in iOS

Installation

The preferred way of installation is via CocoaPods. Just add

pod 'EventLogger'

and run pod install. It will install the most recent version of EventLogger.

How to use

Import header file

Import header file where you want to log event:

#import "EventLogger.h"

Log count event

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

Log event time

Start Loging EventCount2;

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

Loging EventCount2 time from event begining;

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

Loging EventCount2 time from point e12;

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

That's it! Have fun with EventLogger!

ScreenShot

ScreenShot1