Created
September 26, 2013 17:38
-
-
Save jaredjenkins/6717733 to your computer and use it in GitHub Desktop.
This file contains 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 | |
{ | |
//Enable test mode to view your events in the Validator. Remove this line of code before releasing your game to the app store. | |
[Playnomics setTestMode: YES]; | |
const unsigned long long applicationId = <APPID>; | |
[Playnomics startWithApplicationId:applicationId]; | |
//preloads the frames at game start | |
[Playnomics preloadFramesWithIds:@"frame-ID-1", @"frame-ID-2", @"frame-ID-2", @"frame-ID-3", nil]; | |
//other code to initialize your iOS application below this | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment