Latest 1.0.0
Homepage https://github.com/adtrade/adtrade-ios-sdk
License MIT
Platforms ios 6.0, requires ARC
Dependencies AdtradeAPI
Frameworks AdSupport, QuartzCore, StoreKit
Authors

Adtrade SDK

Installing with Cocoapods

Add to podfile

pod 'Adtrade'

Usage

In your AppDelegate.m:

#import "Adtrade.h"

Inside your app delegate’s ‘applicationDidBecomeActive:’ function call the following:


- (void)applicationDidBecomeActive:(UIApplication *)application{

    [[Adtrade sharedInstance] startWithAppKey:@"<APP_KEY>"];

    [[Adtrade sharedInstance] showInterstitial:nil withSuccess:^{
        // Ad was shown

    } failure:^(NSError *error) {
        // Error, no ad was shown

    }];  
}

Example interstitial

Documentation

Documentation can be found here

Latest podspec

{
    "name": "Adtrade",
    "version": "1.0.0",
    "summary": "Adtrade SDK.",
    "description": "Adtrade is an open-source platform for mobile developers to exchange ads for free.",
    "homepage": "https://github.com/adtrade/adtrade-ios-sdk",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "williamlocke": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adtrade/adtrade-ios-sdk.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "dependencies": {
        "AdtradeAPI": []
    },
    "resources": "{Adtrade.podspec,Resources/Adtrade.bundle}",
    "source_files": "Classes/**/*.[h,m]",
    "frameworks": [
        "AdSupport",
        "QuartzCore",
        "StoreKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This