Swift class to check for internet connection
Originally, Reachability class from Apple was developed to help you checking for internet connection, but that class has been deprecated and was written in Objective-C.
I've created this new 100% Swift class to accomplish the same result.
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.
Requirements for the software and other tools to build, test and push
- Xcode 13.0
- Swift 4.0
- iOS SDK 2.0+
- iPadOS SDK 2.0+
- macOS 10.1+
- Mac Catalyst 13.0+
- tvOS 9.0+
Just copy the file Reachability.swift into your project and import SystemConfiguration framework.
- Juan Landy - github
This project is licensed under the CC0 1.0 Universal Creative Commons License - see the LICENSE.md file for details