I can create an instance of NWPathMonitor to monitor a single type of interface (WIFI, cellular, etc) via a labeled init, or I can monitor the overall system (all interfaces) using "init()".
Great! That's what I want to know - is there any interface to the internet that's "satisfiled". The only way to get status is listen for updates by providing a block, that provides a NWPath object. At least one documentation page says that object is hashable (but the Swift interface in Xcode for iOS13 does not say that).
What I **beiieve** i need to do is save all path status' in a dictionary, and when I my block runs, save the state for that particular path (might be cellular, or wifi, or wired, whatever). Then at some point when I need status, I see if any interface is "satisfied" and if not no network.
But I can't save the path in the dictionary - its not hashable! I thought - well, I could use the "debugDescription" as a unique value - shutter shutter!
I have to believe I have misunderstood usage, but I don't find this concept covered in any of relevant blog posts.