Reachability.swift v4.0.0 Release Notes
Release Date: 2017-10-10 // over 6 years ago-
๐ Changed
NetworkStatus
renamedConnection
currentReachabilityStatus
renamedconnection
isReachableViaWWAN
has been renamed toisReachableViaCellular
reachableOnWWAN
has been renamed toallowsCellularConnection
- The notification for reachability changes has been renamed from
ReachabilityChangedNotification
toNotification.Name.reachabilityChanged
- All closure callbacks and notification are fired on the main queue (including when
startNotifier()
is called)
๐ Deprecated
- ๐
reachability.currentReachabilityString
has been deprecated. Use"\(reachability.connection)"
instead. - ๐
isReachable
has been deprecated. Useconnection != .none
instead. - ๐
isReachableViaWWAN
has been deprecated. Useconnection == .cellular
instead.