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.
In the Podfile file, use
mPaaS_pod "mPaaS_DataCenter"
to add the dependency.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.