iOS Swift Package Manager Installation
Using Xcode UI
- In Xcode, go to File → Add Package Dependencies
- Enter the Told package URL in the search bar
- Select the version and click Add Package
- Choose the target to add the package to
Using Package.swift
Add Told to your Package.swift:
dependencies: [
.package(url: "TOLD_PACKAGE_URL", from: "X.X.X")
]
Then add it as a dependency to your target:
targets: [
.target(
name: "MyApp",
dependencies: ["Told"]
)
]
Initialize
See iOS SDK Installation for initialization code.