No Description

Ashley Mills b6242bb829 Fix isRunningOnDevice 11 years ago
Reachability Sample 2b5925018c Switch to use timer 11 years ago
Reachability Test 79f8d2502f Add test harness app 11 years ago
.gitignore 79f8d2502f Add test harness app 11 years ago
LICENSE acc3ef30f8 Initial check in 11 years ago
README.md bebe9e82a0 Remove unused files. Update README 11 years ago
Reachability.swift b6242bb829 Fix isRunningOnDevice 11 years ago

README.md

Reachability.swift

Replacement for Apple's Reachability re-written in Swift with callbacks

Inspired by https://github.com/tonymillion/Reachability

NOTE:

As of Swift 1.1, you cannot convert Swift closures into C-function pointers, meaning we can't set an SCNetworkReachabilityCallBack.

To get around this, this reachability replacement uses an NSTimer firing at 1/2 second intervals.