Inherits from MKNetworkEngine
Declared in Appacitive.h
Appacitive.m

Overview

An Appacitive object is the entry point to use the Appacitive SDK. All the network requests are queued up here and sent to the remote service.

Tasks

Class Methods

appacitiveWithApiKey:

Creates a shared object.

+ (id)appacitiveWithApiKey:(NSString *)apiKey

Parameters

apiKey

Application API Key.

Discussion

This needs to be initialized when the app starts. No API call will be successful if this object does not exist.

Declared In

Appacitive.h

setSharedObject:

Helper method to set the shared appacitive object.

+ (void)setSharedObject:(Appacitive *)object

Declared In

Appacitive.h

sharedObject

Retrieve the shared appacitive object.

+ (id)sharedObject

Discussion

@discussion This method will return nil if appacitiveWithApiKey:deploymentId: is not called.

Declared In

Appacitive.h

Instance Methods

environmentToUse

By default the environment is set to sandbox. To change to live set the enableLiveEnvironment property of the Appacitive object.

- (NSString *)environmentToUse

Return Value

The environment to use

Declared In

Appacitive.h