Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 628 Bytes

swift-support.md

File metadata and controls

22 lines (16 loc) · 628 Bytes
description
Sentiance SDK is compatible and is refined to be used with Swift Apps.

Swift Support

Steps to integrate the Sentiance SDK into iOS Apps written in Swift:

  1. After the integration steps, in the Bridging Header for your application, import the Sentiance SDK in the files you want to use the API.
  2. Access the API using the singleton instance Sentiance.shared.

Example:

@import SENTSDK

class MyClass {
    func run() {
        let sentiance = Sentiance.shared
    }
}