ReachabilityMonitor
public class ReachabilityMonitorThe ReachabilityMonitor class is used to monitor the network reachability. Any changes to the reachability causes a
message to be sent to the delegate, indicating a change in network reachability has occurred.
- 
                  
                  The object that acts as the delegate for the monitor. DeclarationSwift public weak var delegate: ReachabilityMonitorDelegate?
- 
                  
                  Indicates whether the monitor is active or not. DeclarationSwift public fileprivate(set) var isActive = false
- 
                  
                  Indicates whether or not the device is connected to the internet. DeclarationSwift public var isConnectedToInternet: Bool
- 
                  
                  Initializes an instance of the ReachabilityMonitorclass.DeclarationSwift public init()
- 
                  
                  Starts monitoring the device’s internet reachability. DeclarationSwift public func start() throws
- 
                  
                  Stops monitoring the device’s internet reachability. DeclarationSwift public func stop()
 View on GitHub
            View on GitHub
           ReachabilityMonitor Class Reference
      ReachabilityMonitor Class Reference