CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Abizer Nasir

1pod

NPReachability

Apple's Reachability example broadcasts changes in network connectivity through notifications. NPReachability also does this but also provides the options of using KVO to monitor changes, or even to provide a block to be executed when changes happen.

Monitoring is simpler; you're either connected or not. Testing for the reachability of a particular URL is best done by actually trying to connect and dealing with the errors.

Apple's Reachability sample has been rewritten to use NPReachability, see the readme for details.

License: MIT

  • Objective C