Skip to content

A simple class to check for internet connection availability in Swift.

License

Notifications You must be signed in to change notification settings

arnoappenzeller/Swift-Reachability

 
 

Repository files navigation

Swift-Reachability

A simple class to check for internet connection availability in Swift. Works for both 3G and WiFi connections.

======================================================================================

Usage

  • Add the Reachability.swift file to your project.
  • Add the SystemConfiguration framework.

======================================================================================

Credits

  • Chris Danielson is the author of the original code written in Objective-C.

  • Martin R from StackOverflow helped me immensely in converting C code to Swift.

About

A simple class to check for internet connection availability in Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%