Reachability.swift
Reachability.swift copied to clipboard
Connection `.none` and `.unavailable` are mixed in the code
Hi,
Reading quickly the code I found some places where .none and .unavailable are mixed:
Connection.description:unavailableis "no connection" and.noneis... "unavailable" 🤔- deprecated
isReachable: comment says to compare to.noneand code compares to....unavailable🤔
It makes things very unclear about what's the difference between the two (and misleading).