Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source: Easy To Use ARC Compatible iOS Reachability Class That Uses GCD And Blocks

  •  
  •  
  •  
  •  
  •  

Reachability is something that you will need to test for time and time again within iOS apps.

Apple has provided sample code for testing reachability, but with the updates to iOS 5 adding automatic reference counting, and the addition of GCD this code from July 2010 is no longer up to date.

Today I came across an excellent library for testing reachability that is ARC compatible with a very clean syntax and utilizes blocks and Grand Central Dispatch making it easy to dispatch updates to the main thread or a background thread.

The library is by Tony Million and you can find it along with usage examples on Github here.

A very nice and clean solution for testing reachability within iPhone and iPad apps.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments