Skip to content

AtharvaVaidya/AVReachability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVReachability

CI Status Version License Platform

AVReachability

AVReachability is a swift class that lets you check for network connectivity. Written in Swift 5.0 for iOS 12 on Xcode 10.2.1 (10E1001).

Usage

Checking for connectivity is as simple as:

if Reachability.isConnectedToNetwork() == true
{
    //Do something
}

Requirements

Xcode 10

Installation

AVReachability is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AVReachability'

Credits

Isuru Nanayakkara for his answer here on StackOverflow.