All Products
Search
Document Center

Mobile Platform as a Service:Integrate iOS SDK

Last Updated:Oct 30, 2023

Currently, Datacenter supports integrating based on native framework and using Cocoapods. For different service requirements, various storage solutions are available, including APDataCenter, Key-value storage, DAO storage, LRU storage, custom storage and data cleaning.

This guide introduces how to add the Datacenter SDK to a project in Xcode.

Prerequisite

You have integrated mPaaS to your project. For more information, refer to Integrate based on native framework and using Cocoapods.

Procedure

Use the cocoapods-mPaaS plugin to add the Datacenter SDK to a project.

  1. In the Podfile file, use mPaaS_pod "mPaaS_DataCenter" to add the dependency.

    image.png
  2. Execute pod install to complete integrating the SDK.

What to do next

Use the SDK by referring to Datacenter Demo in baseline 10.1.60 and later.