CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jul 2016 |
| SPMSupports SPM | ✗ |
Maintained by Josh Minzner.
Add RCAnalytics as a dependency
target 'MyAppTargetHere' do
use_frameworks!
pod "RCAnalytics", "~> 0.2.0"
endInstall Dependencies
$> pod installInitialize RCAnalytics when your app launches:
In Swift:
import UIKit;
import RCAnalytics;
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
// called after your app launches
func application(
application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?
) -> Bool {
RCAnalytics.create("your-product-id-here").launch(); // Launch RCAnalytics
return true;
}
}In Objective-C:
#import "AppDelegate.h"
#import <Foundation/Foundation.h>
@import RCAnalytics;
@implementation AppDelegate
// called after your app launches
-(BOOL)
application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[RCAnalytics create:@"your-product-id-here"] launch]; // Launch RCAnalytics
return YES;
}
@endReelcontent, Inc., [email protected]
RCAnalytics is available under the MIT license. See the LICENSE file for more info.