iphoneiosipadreachabilitycfnetwork

Are there more sophisticated alternatives to Apples Reachability class?


Apple has created that famous Reachability class but looking at the code I don't trust it much. The formatting and header is messy.

Also it provides no help for showing that "You have no internet!" alert.

I just want to do:

In my app the user taps no download button it all happens automatically in the background.

That's it. Really. I spent now 3 hours with Reachability my brain just rejects it.

Did someone create a clever alternative with a clean header and clean code? Something that is really simple to use?


Solution

  • I've found one on GitHub: https://github.com/tonymillion/Reachability

    Note: First find != necessarily best find.