iOS SDK

A lightweight Swift library to integrate your iOS application with your DCN

The iOS SDK is a Swift library that makes it easy to integrate your iOS applications with your DCN. You can use the library from both Swift and Objective-C codebases. It can be installed via the CocoaPods dependency manager, or using Carthage.

Details on installing and using the iOS SDK can be found in the GitHub README. A demo application is included with the implementation.

Creating an iOS SDK Source

You can create a new iOS application source from your DCN UI or using the CLI by running the optable-cli source create ios command.

During source creation, you will need to specify a unique name for the application. For example, using the CLI:

$ optable-cli source create ios "my-example-app"

On success, the command will return a JSON encoded description of the newly created application source. Take note of the slug attribute as you will need it along with the hostname of your DCN when initializing the iOS SDK in your application.

Last updated