Reachability.swift
A drop-in replacement for Apple's Reachability, rewritten in Swift with closures and NotificationCenter support. One of the most popular Swift networking libraries on GitHub.
8,000+
GitHub Stars
7,000+
Apps Using It
About
Reachability.swift provides a simple, clean API for monitoring network connectivity changes on iOS and macOS. It uses Swift's closure syntax and integrates with NotificationCenter for reactive network monitoring.
Installation
Available via Swift Package Manager, CocoaPods, and Carthage.
- SPM:
https://github.com/ashleymills/Reachability.swift - CocoaPods:
pod 'ReachabilitySwift'