Last active
December 11, 2015 09:58
-
-
Save ChrisRisner/4583489 to your computer and use it in GitHub Desktop.
iOS Day 30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
id<GAITracker> tracker = [[GAI sharedInstance] trackerWithTrackingId:@"UA-37819494-1"]; | |
return YES; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
[GAI sharedInstance].trackUncaughtExceptions = YES; | |
[GAI sharedInstance].dispatchInterval = 20; | |
[GAI sharedInstance].debug = YES; | |
id<GAITracker> tracker = [[GAI sharedInstance] trackerWithTrackingId:@"UA-37819494-1"]; | |
return YES; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface ViewController : UIViewController | |
@property (weak, nonatomic) IBOutlet UITextField *txtInfo; | |
- (IBAction)tappedButtonOne:(id)sender; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import "GAITrackedViewController.h" | |
@interface ViewController : GAITrackedViewController | |
@property (weak, nonatomic) IBOutlet UITextField *txtInfo; | |
- (IBAction)tappedButtonOne:(id)sender; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
self.trackedViewName = @"My First Screen"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment