ashleymills/Reachability.swift
Replacement for Apple's Reachability re-written in Swift with closures observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4364
- days_rel: 699
- days_push: 699
- n_releases_24m: 1
Adoption not part of the score
7972 stars · 946 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift library that monitors network reachability on Apple platforms, replacing Apple's Reachability sample code with a closure-based API. It supports iOS, macOS, and tvOS and is distributed via CocoaPods, Carthage, or manual file inclusion.
Use cases
- detect when the device goes online or offline
- show a no-internet banner in an iOS app
- wait for network connectivity before retrying API calls
- monitor wifi vs cellular connection changes
- check if a specific host is reachable
When to choose
- you need a lightweight, closure-based reachability monitor in Swift
- you want a well-known drop-in replacement for Apple's Reachability sample
- you support older iOS/macOS/tvOS versions
When to avoid
- you need NWPathMonitor-based modern APIs and can use Apple's Network framework directly
- your project targets only recent OS versions where NWPathMonitor suffices
- you need detailed connection quality metrics, not just reachability
Facets
library · maturity maintenance
networking developer-tools mobile-development developer-tools cross-platform network-reachability closures swift cocoapods carthage ios macos
1 source
- readme: https://github.com/ashleymills/Reachability.swift · fetched 2026-08-28 · a524487f1974
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ashleymills/Reachability.swift | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="ashleymills/Reachability.swift")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem