Are you looking more information about your network connections or the status of your network?
If you are wanting to know information about your network connections, take a look at NSURLSessionTaskTransactionMetrics. This gives you DNS times, TLS times, total end to end transfer times etc..
If you are looking for status of your network, take a look at NWPathMonitor. This provides an effective way to monitor and react to network changes on an interface.
Lastly, for using NSURLSession, take a look at using the property waitsForConnectivity on NSURLSessionConfiguration. This will tell you dataTask to wait until a path is active to send the request. Otherwise the session will fail immediately if offline.
Matt Eaton
DTS Engineering, CoreOS
meaton3 at apple.com