Here are the steps you need to follow in order to get started with the App42 platform
Register with the App42 platform
Create an App once you are on the Quick-start page (after registration)
If you are already registered, login to the AppHQ console and create an App from the App Manager -> Create App link.
Once the App is created, you will get an API Key/SecretKey that you will use in your app for initialization of the SDK.
Download iOS SDK
Unzip the downloaded file on your local system, the unzipped folder contains docs and a sample.
Drag Shephertz_App42_iOS_API.framework into your Xcode project and drop under your project.
Make sure “Copy items if needed” check-box is checked.
Add the following libraries:
Insert the following import statement in the Class where you want to use App42 APIs
To use our CampaignAPI, please perform the following steps:
Drag App42_iOS_CampaignAPI.framework into your Xcode project and drop under your project.
You also need to add CoreLocation.framework.
Add the following key value pair to your info.plist file
Insert the following import statement in the Class where you want to enable Campaign API
You have to instantiate ServiceAPI class and pass your ApiKey/SecretKey to initialize the SDK.
Once you have initialized your SDK with API Key/SecretKey you have to build the target service that you want to use in your App. User Service can be built using the following snippet. Similarly you can build other services with the same notation. Want to know about all the services of App42 Platform? Click Here
Go To Creating App User for learning App User Management
Go To Saving App Data to learn about App Data Storage.