-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Simon J Stuart edited this page Sep 5, 2022
·
1 revision
Select File
-> Swift Packages
-> Add Package Dependency
and enter https://github.com/Flowduino/EventDrivenSwift.git
You can use EventDrivenSwift
as a Package Dependency in your own Packages' Package.swift
file:
let package = Package(
//...
dependencies: [
.package(
url: "https://github.com/Flowduino/EventDrivenSwift.git",
.upToNextMajor(from: "5.0.0")
),
],
//...
)
From there, refer to EventDrivenSwift
as a "target dependency" in any of your package's targets that need it.
targets: [
.target(
name: "YourLibrary",
dependencies: [
"EventDrivenSwift",
],
//...
),
//...
]
You can then do import EventDrivenSwift
in any .swift
file that requires it.
If you like EventDrivenSwift
(and any of our other work at Flowduino) please considering Sponsoring our Projects