Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 
 
 

ManagedStatsOC

[![CI Status](http://img.shields.io/travis/Bob Pascazio/ManagedStatsOC.svg?style=flat)](https://travis-ci.org/Bob Pascazio/ManagedStatsOC) Version License Platform

Requirements

Installation

ManagedStatsOC is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ManagedStatsOC', '~> 0.1'

Usage

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.

Objective - C

#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];

Swift

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()

Author

Bob Pascazio, bob@bytefly.com

License

ManagedStatsOC is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published