warrenm/AHReach — pull request #1 by veader (2012-05-02 04:16:27+00:00)
Title: Blocks returning AHReach objects.

I'm really liking the library so far.

This is just a personal preference thing but I'd like the blocks to return their objects instead of just the flags. This allows the use of the whole object later so we can have convenience methods. (Such as [reach reachableViaWifi] instead of routes & AHReachRouteWiFi) I tend to like the idea that the including code base needs as little knowledge of the library spread throughout it. Plus who really groks ANDs in their head, really? ;)

Again, purely personal preference on this one. But thought I'd put it out there... Thanks again for the code.