[![CI Status](http://img.shields.io/travis/Bob Pascazio/ManagedStatsOC.svg?style=flat)](https://travis-ci.org/Bob Pascazio/ManagedStatsOC)
ManagedStatsOC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ManagedStatsOC', '~> 0.1'
Begin by setting up an account with ManagedApps.
Tap on '+ New App' and enter the application name.
Search for appKey and apiKey under 'MY APPS' -> 'Information' -> 'VIEW APP KEY' & 'VIEW API KEY'. This information will be used for the next step.
#import "ManagedStatsOC.h"
Add the following code to AppDelegate didFinishLaunchingWithOptions method,
[ManagedStats setAppKey:@"PUT_APP_KEY_HERE" setApiKey:@"PUT_API_KEY_HERE"];
[ManagedStats appLaunched];
Add the following code to AppDelegate applicationWillEnterForeground method,
[ManagedStats sessionStart];
Make sure you have 'use_frameworks!' as part of your podfile documentation.
import ManagedStatsOC
Add the following code to AppDelegate didFinishLaunchingWithOptions method,
ManagedStats.setAppKey("PUT_APP_KEY_HERE", setApiKey: "PUT_API_KEY_HERE")
ManagedStats.appLaunched()
Add the following code to AppDelegate applicationWillEnterForeground method,
ManagedStats.sessionStart()
Bob Pascazio, bob@bytefly.com
ManagedStatsOC is available under the MIT license. See the LICENSE file for more info.