Skip to content

The-Wand/Network

Repository files navigation

⛓️‍💥 Wand.Network

Subscribe to Network framework objects changes
📦 |Package

⚙️ Usage

//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
}

📥 Installation

Use Swift Package Manager to install |Network

  1. In Xcode, select 'File' → 'Add Packages...'
  2. 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")

🪄 Сoncept

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 |

Alex Kozin

Sponsor this project

Languages