Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

AnalyticsKitDebug

  • Loading branch information...
commit 81b38b28a1d12c761b200eb5d5bea053b2a86e30 1 parent 1fdd3ea
@sherpachick sherpachick authored
Showing with 29 additions and 1 deletion.
  1. +29 −1 AnalyticsKitDebug.m
View
30 AnalyticsKitDebug.m
@@ -10,9 +10,37 @@
@implementation AnalyticsKitDebug
+#pragma mark -
+#pragma mark Lifecycle
+
+-(void)applicationWillEnterForeground{}
+
+-(void)applicationDidEnterBackground{}
+
+-(void)applicationWillTerminate{}
+
+-(void)uncaughtException:(NSException *)exception{}
+
+#pragma mark -
+#pragma mark Event Logging
+
+-(void)logScreen:(NSString *)screenName{}
+
+-(void)logEvent:(NSString *)value {}
+
+-(void)logEvent:(NSString *)event withProperty:(NSString *)key andValue:(NSString *)value {}
+
+-(void)logEvent:(NSString *)event withProperties:(NSDictionary *)dict {}
+
+-(void)logEvent:(NSString *)eventName timed:(BOOL)timed{}
+
+-(void)logEvent:(NSString *)eventName withProperties:(NSDictionary *)dict timed:(BOOL)timed{}
+
+-(void)endTimedEvent:(NSString *)eventName withProperties:(NSDictionary *)dict{}
+
-(void)showDebugAlert:(NSString *)message{
if (DEBUG == 1){
- UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"AnalyticsKit Error"
+ UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"AnalyticsKit Received Error"
message:message
delegate:self cancelButtonTitle:@"Ok"
otherButtonTitles:nil] autorelease];
Please sign in to comment.
Something went wrong with that request. Please try again.