iOS and Mac OS X client library for Countly
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Initial commit Mar 8, 2013

#Countly-sdk-cocoa This is an iOS and Mac OS X client library for Countly. It's based on the official library.

##Main differences with the official library

  • Universal: iOS and OS X.
  • Not using OpenUDID.
  • Option to disable the session duration tracking.
  • Clean-up of the requests in case of network failure.


Earliest supported deployment target - iOS 5.0 / Mac OS 10.7

It uses ARC.

Worked with OS X Sandboxing (add the entitlement).


  • Drag the Countly.h and Countly.m class files into your project.
  • Add the System Configuration framework SystemConfiguration.framework.
  • For iOS, Add the Core Telephony framework CoreTelephony.framework.
  • Register your app:
#import "Countly.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [[Countly sharedInstance] startWithAttributes:@{
        CountlyAttributesAPIKey : @"MY_APP_KEY",
          CountlyAttributesHost : @""
    return YES;


MIT license.