For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quick Start

Start by Using Hyphen iOS SDK

Create an App in the Dashboard

You need to create an app in the Hyphen Dashboard before using Hyphen SDK. After creating an app, an app secret will be issued. The app secret is required to initialize the SDK.

Install the SDK using SPM

We recommend Swift Package Manager to install our SDK.

Edit Package.swift of your project to add Hyphen SDK.

import PackageDescription

let package = Package(
    name: "my-project",
    dependencies: [
        .package(url: "https://github.com/hyphen-at/hyphen-ios-sdk.git"),
        ...
    ],
    targets: [...]
)
  1. In Xcode, Open .xcodeproj file of your project.

  2. Go to Package Dependencies.

  3. Click + button below to add a dependency.

  4. Enter https://github.com/hyphen-at/hyphen-ios-sdk.git URL.

  5. Click "Add Package".

Configuring the SDK

On AppDelegate.swift of your application, insert the following initialization code.

Sorry, the example is not provided yet.

Last updated

Was this helpful?