Permalink
Browse files

integrated medialets tracking lib

  • Loading branch information...
trak3r committed Jul 27, 2009
1 parent 5dcc2ae commit 291511b20025b51a9de6af91335e5f53264fddcb
Showing with 279 additions and 16 deletions.
  1. +2 −5 Classes/JustTweetAppDelegate.m
  2. +25 −0 JustTweet Lite.xcodeproj/project.pbxproj
  3. +178 −11 JustTweet Lite.xcodeproj/ted.pbxuser
  4. +74 −0 MMTrackingMgr.h
@@ -7,20 +7,17 @@
//
#import "JustTweetAppDelegate.h"
-//#import "MMTrackingMgr.h"
+#import "MMTrackingMgr.h"
@implementation JustTweetAppDelegate
@synthesize window;
@synthesize tweetView;
@synthesize settingsView;
-/*
+ (void)initialize {
- //[[MMTrackingMgr sharedInstance] startDefaultTrackingWithoutLocation];
- [[MMTrackingMgr sharedInstance] startDefaultTracking];
+ [[MMTrackingMgr sharedInstance] startDefaultTracking];
}
-*/
- (BOOL)isNullOrEmpty:(NSString *)key {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
@@ -18,6 +18,11 @@
9FAEFB340FB9D5D5001A73BC /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 9FAEFB330FB9D5D5001A73BC /* Settings.bundle */; };
9FC38F6E0FB25D7400A8408F /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 9FC38F6D0FB25D7400A8408F /* icon.png */; };
9FC38F860FB25E7600A8408F /* TweetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FC38F850FB25E7600A8408F /* TweetViewController.m */; };
+ 9FD99A42101E18C900D00643 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD99A41101E18C900D00643 /* CoreLocation.framework */; };
+ 9FD99A46101E190F00D00643 /* libz.1.2.3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD99A45101E190F00D00643 /* libz.1.2.3.dylib */; };
+ 9FD99A48101E1A3B00D00643 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD99A47101E1A3B00D00643 /* libsqlite3.dylib */; };
+ 9FD99A4B101E1A9400D00643 /* libMMTrackingDevice.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD99A49101E1A9400D00643 /* libMMTrackingDevice.a */; };
+ 9FD99A4C101E1A9400D00643 /* libMMTrackingSimulator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD99A4A101E1A9400D00643 /* libMMTrackingSimulator.a */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -38,6 +43,12 @@
9FC38F6D0FB25D7400A8408F /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
9FC38F840FB25E7600A8408F /* TweetViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TweetViewController.h; sourceTree = "<group>"; };
9FC38F850FB25E7600A8408F /* TweetViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TweetViewController.m; sourceTree = "<group>"; };
+ 9FD99A41101E18C900D00643 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
+ 9FD99A45101E190F00D00643 /* libz.1.2.3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.2.3.dylib; path = usr/lib/libz.1.2.3.dylib; sourceTree = SDKROOT; };
+ 9FD99A47101E1A3B00D00643 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = usr/lib/libsqlite3.dylib; sourceTree = SDKROOT; };
+ 9FD99A49101E1A9400D00643 /* libMMTrackingDevice.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libMMTrackingDevice.a; path = "../../Downloads/Medialets Tracking w-Ads 2.0.21/Libraries/libMMTrackingDevice.a"; sourceTree = SOURCE_ROOT; };
+ 9FD99A4A101E1A9400D00643 /* libMMTrackingSimulator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libMMTrackingSimulator.a; path = "../../Downloads/Medialets Tracking w-Ads 2.0.21/Libraries/libMMTrackingSimulator.a"; sourceTree = SOURCE_ROOT; };
+ 9FD99A4D101E1ABB00D00643 /* MMTrackingMgr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMTrackingMgr.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -49,6 +60,11 @@
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */,
9F9002A60FB31007002E8F74 /* SystemConfiguration.framework in Frameworks */,
+ 9FD99A42101E18C900D00643 /* CoreLocation.framework in Frameworks */,
+ 9FD99A46101E190F00D00643 /* libz.1.2.3.dylib in Frameworks */,
+ 9FD99A48101E1A3B00D00643 /* libsqlite3.dylib in Frameworks */,
+ 9FD99A4B101E1A9400D00643 /* libMMTrackingDevice.a in Frameworks */,
+ 9FD99A4C101E1A9400D00643 /* libMMTrackingSimulator.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -92,6 +108,7 @@
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
+ 9FD99A4D101E1ABB00D00643 /* MMTrackingMgr.h */,
32CA4F630368D1EE00C91783 /* JustTweet_Lite_Prefix.pch */,
29B97316FDCFA39411CA2CEA /* main.m */,
);
@@ -111,6 +128,11 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 9FD99A49101E1A9400D00643 /* libMMTrackingDevice.a */,
+ 9FD99A4A101E1A9400D00643 /* libMMTrackingSimulator.a */,
+ 9FD99A47101E1A3B00D00643 /* libsqlite3.dylib */,
+ 9FD99A45101E190F00D00643 /* libz.1.2.3.dylib */,
+ 9FD99A41101E18C900D00643 /* CoreLocation.framework */,
9F9002A50FB31007002E8F74 /* SystemConfiguration.framework */,
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
1D30AB110D05D00D00671497 /* Foundation.framework */,
@@ -198,6 +220,7 @@
"$(inherited)",
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/../../Downloads/admob_iphone_sdk/AdMob\"",
+ "\"$(SRCROOT)/../../Downloads/Medialets Tracking w-Ads 2.0.21/Libraries\"",
);
PRODUCT_NAME = JustTweet;
};
@@ -215,6 +238,7 @@
"$(inherited)",
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/../../Downloads/admob_iphone_sdk/AdMob\"",
+ "\"$(SRCROOT)/../../Downloads/Medialets Tracking w-Ads 2.0.21/Libraries\"",
);
PRODUCT_NAME = JustTweet;
};
@@ -245,6 +269,7 @@
"$(inherited)",
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/../../Downloads/admob_iphone_sdk/AdMob\"",
+ "\"$(SRCROOT)/../../Downloads/Medialets Tracking w-Ads 2.0.21/Libraries\"",
);
PRODUCT_NAME = JustTweet;
PROVISIONING_PROFILE = "1490ED60-230E-44B0-8434-AE558260F1B7";
@@ -2,16 +2,16 @@
{
1D3623240D0F684500981E51 /* JustTweetAppDelegate.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {762, 857}}";
+ sepNavIntBoundsRect = "{{0, 0}, {737, 547}}";
sepNavSelRange = "{671, 0}";
sepNavVisRange = "{0, 678}";
};
};
1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {737, 1292}}";
- sepNavSelRange = "{761, 0}";
- sepNavVisRange = "{316, 838}";
+ sepNavIntBoundsRect = "{{0, 0}, {737, 1258}}";
+ sepNavSelRange = "{396, 0}";
+ sepNavVisRange = "{0, 760}";
};
};
1D6058900D05DD3D006BFB54 /* JustTweet Lite */ = {
@@ -30,7 +30,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
activeBuildConfigurationName = Debug;
activeExecutable = 9FC38F600FB25CE200A8408F /* JustTweet Lite */;
- activeSDKPreference = iphonesimulator2.2.1;
+ activeSDKPreference = iphonesimulator3.0;
activeTarget = 1D6058900D05DD3D006BFB54 /* JustTweet Lite */;
addToTargets = (
1D6058900D05DD3D006BFB54 /* JustTweet Lite */,
@@ -139,6 +139,21 @@
9FD99A1D101E153400D00643 /* PBXTextBookmark */ = 9FD99A1D101E153400D00643 /* PBXTextBookmark */;
9FD99A1E101E153400D00643 /* PBXTextBookmark */ = 9FD99A1E101E153400D00643 /* PBXTextBookmark */;
9FD99A25101E15D400D00643 /* PBXTextBookmark */ = 9FD99A25101E15D400D00643 /* PBXTextBookmark */;
+ 9FD99A31101E179A00D00643 /* PBXTextBookmark */ = 9FD99A31101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A32101E179A00D00643 /* PBXTextBookmark */ = 9FD99A32101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A33101E179A00D00643 /* PBXTextBookmark */ = 9FD99A33101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A34101E179A00D00643 /* PBXTextBookmark */ = 9FD99A34101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A35101E179A00D00643 /* PBXTextBookmark */ = 9FD99A35101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A36101E179A00D00643 /* PBXTextBookmark */ = 9FD99A36101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A37101E179A00D00643 /* PBXTextBookmark */ = 9FD99A37101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A38101E179A00D00643 /* PBXTextBookmark */ = 9FD99A38101E179A00D00643 /* PBXTextBookmark */;
+ 9FD99A4E101E1B0100D00643 /* PBXTextBookmark */ = 9FD99A4E101E1B0100D00643 /* PBXTextBookmark */;
+ 9FD99A4F101E1B0100D00643 /* PlistBookmark */ = 9FD99A4F101E1B0100D00643 /* PlistBookmark */;
+ 9FD99A50101E1B0100D00643 /* PBXTextBookmark */ = 9FD99A50101E1B0100D00643 /* PBXTextBookmark */;
+ 9FD99A51101E1B0100D00643 /* PBXTextBookmark */ = 9FD99A51101E1B0100D00643 /* PBXTextBookmark */;
+ 9FD99A52101E1B0100D00643 /* PlistBookmark */ = 9FD99A52101E1B0100D00643 /* PlistBookmark */;
+ 9FD99A53101E1B0100D00643 /* PBXTextBookmark */ = 9FD99A53101E1B0100D00643 /* PBXTextBookmark */;
+ 9FD99A54101E1B0100D00643 /* PBXTextBookmark */ = 9FD99A54101E1B0100D00643 /* PBXTextBookmark */;
9FF55BD60FD9FBC800F6E4D8 = 9FF55BD60FD9FBC800F6E4D8 /* PBXTextBookmark */;
};
sourceControlManager = 9FC38F6A0FB25D0100A8408F /* Source Control */;
@@ -206,7 +221,7 @@
fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
name = "JustTweetAppDelegate.m: 33";
rLen = 0;
- rLoc = 761;
+ rLoc = 683;
rType = 0;
vrLen = 757;
vrLoc = 875;
@@ -491,16 +506,16 @@
};
9FC38F840FB25E7600A8408F /* TweetViewController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {762, 660}}";
+ sepNavIntBoundsRect = "{{0, 0}, {737, 570}}";
sepNavSelRange = "{722, 0}";
sepNavVisRange = "{0, 728}";
};
};
9FC38F850FB25E7600A8408F /* TweetViewController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1292, 3332}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1292, 3417}}";
sepNavSelRange = "{3589, 0}";
- sepNavVisRange = "{0, 773}";
+ sepNavVisRange = "{6849, 1030}";
sepNavWindowFrame = "{{15, 312}, {748, 561}}";
};
};
@@ -618,7 +633,7 @@
fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
name = "JustTweetAppDelegate.m: 33";
rLen = 0;
- rLoc = 761;
+ rLoc = 683;
rType = 0;
vrLen = 693;
vrLoc = 939;
@@ -628,11 +643,163 @@
fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
name = "JustTweetAppDelegate.m: 33";
rLen = 0;
- rLoc = 761;
+ rLoc = 683;
rType = 0;
vrLen = 838;
vrLoc = 316;
};
+ 9FD99A31101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623240D0F684500981E51 /* JustTweetAppDelegate.h */;
+ name = "JustTweetAppDelegate.h: 27";
+ rLen = 0;
+ rLoc = 671;
+ rType = 0;
+ vrLen = 678;
+ vrLoc = 0;
+ };
+ 9FD99A32101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
+ name = "JustTweetAppDelegate.m: 24";
+ rLen = 0;
+ rLoc = 396;
+ rType = 0;
+ vrLen = 840;
+ vrLoc = 316;
+ };
+ 9FD99A33101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 9FC38F840FB25E7600A8408F /* TweetViewController.h */;
+ name = "TweetViewController.h: 27";
+ rLen = 0;
+ rLoc = 722;
+ rType = 0;
+ vrLen = 728;
+ vrLoc = 0;
+ };
+ 9FD99A34101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
+ name = "JustTweetAppDelegate.m: 24";
+ rLen = 0;
+ rLoc = 396;
+ rType = 0;
+ vrLen = 840;
+ vrLoc = 316;
+ };
+ 9FD99A35101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623240D0F684500981E51 /* JustTweetAppDelegate.h */;
+ name = "JustTweetAppDelegate.h: 27";
+ rLen = 0;
+ rLoc = 671;
+ rType = 0;
+ vrLen = 678;
+ vrLoc = 0;
+ };
+ 9FD99A36101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
+ name = "JustTweetAppDelegate.m: 24";
+ rLen = 0;
+ rLoc = 396;
+ rType = 0;
+ vrLen = 840;
+ vrLoc = 316;
+ };
+ 9FD99A37101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 9FC38F840FB25E7600A8408F /* TweetViewController.h */;
+ name = "TweetViewController.h: 27";
+ rLen = 0;
+ rLoc = 722;
+ rType = 0;
+ vrLen = 728;
+ vrLoc = 0;
+ };
+ 9FD99A38101E179A00D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 9FC38F850FB25E7600A8408F /* TweetViewController.m */;
+ name = "TweetViewController.m: 71";
+ rLen = 0;
+ rLoc = 3589;
+ rType = 0;
+ vrLen = 1030;
+ vrLoc = 6849;
+ };
+ 9FD99A4E101E1B0100D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 9FC38F850FB25E7600A8408F /* TweetViewController.m */;
+ name = "TweetViewController.m: 71";
+ rLen = 0;
+ rLoc = 3589;
+ rType = 0;
+ vrLen = 1030;
+ vrLoc = 6849;
+ };
+ 9FD99A4F101E1B0100D00643 /* PlistBookmark */ = {
+ isa = PlistBookmark;
+ fRef = 8D1107310486CEB800E47090 /* Info.plist */;
+ fallbackIsa = PBXBookmark;
+ isK = 0;
+ kPath = (
+ );
+ name = "/Users/ted/Desktop/JustTweet-Lite/Info.plist";
+ rLen = 0;
+ rLoc = 2147483647;
+ };
+ 9FD99A50101E1B0100D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623240D0F684500981E51 /* JustTweetAppDelegate.h */;
+ name = "JustTweetAppDelegate.h: 27";
+ rLen = 0;
+ rLoc = 671;
+ rType = 0;
+ vrLen = 678;
+ vrLoc = 0;
+ };
+ 9FD99A51101E1B0100D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 9FC38F850FB25E7600A8408F /* TweetViewController.m */;
+ name = "TweetViewController.m: 71";
+ rLen = 0;
+ rLoc = 3589;
+ rType = 0;
+ vrLen = 1030;
+ vrLoc = 6849;
+ };
+ 9FD99A52101E1B0100D00643 /* PlistBookmark */ = {
+ isa = PlistBookmark;
+ fRef = 8D1107310486CEB800E47090 /* Info.plist */;
+ fallbackIsa = PBXBookmark;
+ isK = 0;
+ kPath = (
+ );
+ name = "/Users/ted/Desktop/JustTweet-Lite/Info.plist";
+ rLen = 0;
+ rLoc = 2147483647;
+ };
+ 9FD99A53101E1B0100D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623240D0F684500981E51 /* JustTweetAppDelegate.h */;
+ name = "JustTweetAppDelegate.h: 27";
+ rLen = 0;
+ rLoc = 671;
+ rType = 0;
+ vrLen = 678;
+ vrLoc = 0;
+ };
+ 9FD99A54101E1B0100D00643 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 1D3623250D0F684500981E51 /* JustTweetAppDelegate.m */;
+ name = "JustTweetAppDelegate.m: 21";
+ rLen = 0;
+ rLoc = 396;
+ rType = 0;
+ vrLen = 760;
+ vrLoc = 0;
+ };
9FF55BD60FD9FBC800F6E4D8 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 9FC38F850FB25E7600A8408F /* TweetViewController.m */;
Oops, something went wrong.

0 comments on commit 291511b

Please sign in to comment.