Reach is a lightweight reachability framework. We designed Reach to be simple to use and also very flexible. Written on Swift 3.1 and compatible with:
- iOS 8.0
- macOS 10.10
- tvOS 9.0
- watchOS 2.0
- Super friendly API
- Singleton free
- No external dependencies
- Minimal implementation
- Support for
iOS/macOS/tvOS/watchOS/Linux
- Support for CocoaPods/Carthage/Swift Package Manager
Reach contains a status property to check the reachability from network. If you want to receive notifications from network changes, you can subscribe to ReachDelegate
protocol.
let reach = Reach()
reach.start()
print(reach.status)
You can check the Reach.playground
to experimental with more examples. If need to see deeply information you can check our Documentation
Reach is available through CocoaPods. To install it, simply add the following line to your Podfile:
platform :ios, '10.0'
use_frameworks!
swift_version = '3.0'
target 'MyApp' do
pod 'Reach'
end
You can also install it via Carthage. To do so, add the following to your Cartfile:
github 'therapychat/Reach'
You can use Swift Package Manager and specify dependency in Package.swift
by adding this:
.Package(url: "https://github.com/therapychat/Reach.git", majorVersion: 0)
Sergio Fernández, fdz.sergio@gmail.com
For the latest version, please check develop branch. Changes from this branch will be merged into the master branch at some point.
- If you want to contribute, submit a pull request against a development
develop
branch. - If you found a bug, open an issue.
- If you have a feature request, open an issue.
Reach is available under the Apache License 2.0
. See the LICENSE file for more info.
See CHANGELOG file.