Add SDK to iOS Project
How to add the Framework to an iOS project to build an app in ObjectiveC to use the CONTXTFUL library.
The CONTXTFUL library
The CONTXTFUL plugin is provided as a Framework folder.
Copy the Framework
Unzip and copy the Contxtful directory (from the step above) under:
[PATH]/[PROJECT NAME]/ContxtfulAPI.framework
Configuring the .xcodeproject
More information coming soon.
Use the Contxtful library
Instantiate the library
You can import the library in your ViewController.mm
like this:
#import "contxtfulAPI.framework/Headers/contxtfulAPI.h"
You may launch the process like this:
Contxtful *contxtful;
contxtful = [[Contxtful alloc] init];
[contxtful Start];
Stop the ContxtfulManager
[contxtful Stop]; |
Resume the ContxtfulManager
Setup Callback