Skip to content

SConnection is a lib for checking internet connection on iOS with Swift 4

License

Notifications You must be signed in to change notification settings

GabrielLidenor/SConnection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

SConnection is a lib for checking internet connection on iOS with Swift 4

SConnection

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "SConnection"

Easy to use

  //This method will return a Boolean
  if(SConnection.isConnectedToNetwork()){
    //do some code
  }else{
    //show an alert
  }

Author

Gabriel Lidenor

License

SConnection is available under the MIT license. See the LICENSE file for more info.

About

SConnection is a lib for checking internet connection on iOS with Swift 4

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published