Libraries and SDKs

IOS

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

1. Installation

We currently support Swift Package Manager only.

Option A: Package.swift

Add the SDK to your Package.swift file:

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

Option B: Xcode UI

  1. Go to File > Add Packages
  2. Enter the URL: https://github.com/ibuild1genius/mca-ios-sdk
  3. Choose version 1.0.0 or later

Usage

1. Import the SDK

import MyCoverSDK

2. Use the SwiftUI View

MyCoverSDK(apiKey: "MCAPUBK_ENV|your_public_key")
Copyright © 2026