Appacitive Class Reference
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
-
+ appacitiveWithApiKey:
Creates a shared object.
-
+ sharedObject
Retrieve the shared appacitive object.
-
+ setSharedObject:
Helper method to set the shared appacitive object.
-
– environmentToUse
By default the environment is set to sandbox. To change to live set the enableLiveEnvironment property of the Appacitive object.
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