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"))
]
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.