Subscribe to Network framework objects changes
📦 |Package
//Receive one NWPath object
| .one { (path: NWPath) in
}
//Subscribe to NWPath changes
| .every { (path: NWPath) in
}
//Subscribe to NWPath changes while condition
| .while { (path: NWPath) in
true
}
Use Swift Package Manager to install |Network
- In Xcode, select 'File' → 'Add Packages...'
- Enter https://github.com/The-Wand/Network
or you can add the following dependency to your Package.swift
:
.package(url: "https://github.com/The-Wand/Network.git", from: "1.0")
Wand started from the idea about receiving anything in most efficient way.
Add one sign to anything and retreive the result 📦
You ideas, comments and contributions are welcome |