Reachability

@objc
public class Reachability : NSObject

Encapsulates ways of reaching a nework resource

  • Declaration

    Swift

    @objc
    public static let shared: Reachability

  • Checks whether a resource is reachable in one or more ways

    Declaration

    Swift

    @objc
    public func checkReachable() -> IsReachable

    Return Value

    How to reach the network resource