Installation

Add the Vizco iOS SDK to your SwiftUI project with Swift Package Manager.

The Vizco iOS SDK provides a SwiftUI view that renders published widgets natively in your iOS app.

Requirements

| Requirement | Minimum | |---|---| | iOS | 16.0 | | Swift | 5.9+ | | Xcode | 15.0+ |

Swift Package Manager

Add the Vizco SDK as a package dependency in Xcode:

  1. Open your project in Xcode
  2. Go to File > Add Package Dependencies...
  3. Enter the package URL:
https://github.com/renanboni/vizco.git
  1. Set the dependency rule (e.g. Up to Next Major Version)
  2. Select the VizcoSDK library and add it to your target

Or add it directly to your Package.swift:

Package.swift
dependencies: [
  .package(url: "https://github.com/renanboni/vizco.git", from: "1.0.0")
]

Then add the product to your target:

Package.swift
.target(
  name: "YourApp",
  dependencies: [
      .product(name: "VizcoSDK", package: "vizco")
  ]
)

Next steps