iOS

Our iOS library is built natively with Swift and SwiftUI, powered by the mycover.ai platform, for buying and managing insurance policies.

Installation

we currently only support Swift Package Manager

in your swift package file add the mycover.ai sdk dependency.

dependencies: [
    .package(url: "https://github.com/ibuildgenius/mca-ios-sdk", .upToNextMajor(from: "1.0.0"))
]

Usage

Import the SwiftUI view into your file

import MyCoverAI

call the SwiftUI view with along with your API key

MyCoverSDK(apiKey: "<YOUR-API-KEY>")

Note: you can also refer to this doc from the apple dev team.

Last updated