From ade84cf3d464f6f1dc2becf16602db759d689398 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Thu, 3 Jan 2013 17:40:21 -0500 Subject: Added NSLog -> TFLog macro (for TestFlight) --- Cart_Collect_Prefix.pch | 1 + Classes/Cart_CollectAppDelegate.m | 1 - Classes/GameModeInfo.m | 1 - Classes/MainMenuLayer.m | 1 - TestFlight.h | 2 ++ 5 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cart_Collect_Prefix.pch b/Cart_Collect_Prefix.pch index a12ac15..62f12a5 100755 --- a/Cart_Collect_Prefix.pch +++ b/Cart_Collect_Prefix.pch @@ -5,4 +5,5 @@ #ifdef __OBJC__ #import #import + #import "TestFlight.h" #endif diff --git a/Classes/Cart_CollectAppDelegate.m b/Classes/Cart_CollectAppDelegate.m index 3dbb3eb..f4e36b4 100755 --- a/Classes/Cart_CollectAppDelegate.m +++ b/Classes/Cart_CollectAppDelegate.m @@ -13,7 +13,6 @@ #import "GameMode.h" #import "RootViewController.h" #import "MainMenuLayer.h" -#import "TestFlight.h" #import "CCNotifications.h" #import "notificationDesign.h" diff --git a/Classes/GameModeInfo.m b/Classes/GameModeInfo.m index 1f85978..08b95e5 100644 --- a/Classes/GameModeInfo.m +++ b/Classes/GameModeInfo.m @@ -10,7 +10,6 @@ #import "CCNotifications.h" #import "GameMode.h" #import "GameModeManager.h" -#import "TestFlight.h" @implementation GameModeInfo diff --git a/Classes/MainMenuLayer.m b/Classes/MainMenuLayer.m index d4a6331..50d3ff8 100755 --- a/Classes/MainMenuLayer.m +++ b/Classes/MainMenuLayer.m @@ -10,7 +10,6 @@ #import "HighscoreListController.h" #import "GameModeSelectionLayer.h" #import "Cart_CollectAppDelegate.h" -#import "TestFlight.h" @implementation MainMenuLayer diff --git a/TestFlight.h b/TestFlight.h index 1c464c3..e6d0ac3 100644 --- a/TestFlight.h +++ b/TestFlight.h @@ -18,6 +18,8 @@ extern "C" { } #endif +#define NSLog(__FORMAT__, ...) TFLog((@"%s [Line %d] " __FORMAT__), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) + /** * TestFlight object * All methods are class level -- cgit 1.4.1