Latest 1.0.9
Homepage https://github.com/mpire-nxus/nxus_ios_cocoapod
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

Summary

TechMpire nxus platform SDK CocoaPods distribution for iOS developers

Installation

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

pod "nxus_ios_cocoapod"

SDK initialisation

After you completed the previous step, you are ready to initialise the library and start sending events.
Open AppDelegate.m class and import the library header file:

#import "include/NxusDSP/NxusDSP.h"

Then, initialise it within AppDelegate’s didFinishLaunchingWithOptions method:

[NxusDSP initializeLibrary:@"YOUR_API_KEY"];

Sending custom events

You can send custom events by calling the method trackEvent:

[NxusDSP trackEvent:@"event-name"];

If you have any additional parameters you would like to send, pass in an instance of NSMutableDictionary:

NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
[params setValue:@"value" forKey:@"key"];
[NxusDSP trackEvent:event params:params];

Logging

To enable logging, call the method debuggingEnabled before library initialisation:

[NxusDSP debuggingEnabled:YES];

Author

TechMpire ltd.

License

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

Latest podspec

{
    "name": "nxus_ios_cocoapod",
    "version": "1.0.9",
    "summary": "Library for generating attribution events, while also enabling users to track events.",
    "description": "Automatically track attributions and log custom events. Support event parameteres.",
    "homepage": "https://github.com/mpire-nxus/nxus_ios_cocoapod",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "TechMpire ltd.": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mpire-nxus/nxus_ios_cocoapod.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "NxusDSP/Classes/**/*"
}

Pin It on Pinterest

Share This