Permalink
Browse files

AnalyticsKitDebug

  • Loading branch information...
Susan Detwiler
Susan Detwiler committed May 29, 2012
1 parent 1fdd3ea commit 81b38b28a1d12c761b200eb5d5bea053b2a86e30
Showing with 29 additions and 1 deletion.
  1. +29 −1 AnalyticsKitDebug.m
View
@@ -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];

0 comments on commit 81b38b2

Please sign in to comment.