Skip to content

Instantly share code, notes, and snippets.

@sessionm-docs
Forked from ndurell/AppDelegate.m
Created April 18, 2014 14:21
Show Gist options
  • Save sessionm-docs/11046682 to your computer and use it in GitHub Desktop.
Save sessionm-docs/11046682 to your computer and use it in GitHub Desktop.
//
// ExampleAppDelegate.m
// MyApp
//
//
#import "ExampleAppDelegate.h"
#import "SessionM.h"
@implementation ExampleAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[SessionM sharedInstance].logLevel = SMLogLevelDebug;
//TODO: put your app key in here.
SMStart(@"<YOUR_APP_KEY_HERE>");
return YES;
}
//Other normal application delegate code is ommitted for this example ....
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment