Select File
-> Swift Packages
-> Add Package Dependency
and enter https://github.com/pushtechnology/diffusion-swift
.
You can add Diffusion
as a package dependency in your Package.swift
file:
let package = Package(
//...
dependencies: [
.package(
name: "Diffusion",
url: "https://github.com/pushtechnology/diffusion-swift",
.exact("6.11.2")
),
],
//...
)
Then simply import Diffusion
wherever you’d like to use it.
- Xcode 15.1+