title: iPhone Reachable classes
body: <p>I have added the two files Reachability.h/m.
  The problem I am having is in the ReachabilityCallback method</p>
  
  <pre><code>NSCAssert([(NSObject*) info isKindOfClass: [Reachability class]], @"info was wrong class in ReachabilityCallback");
  </code></pre>
  
  <p>The error message is: Cast of C pointer type 'void *' to Objective-C pointer type 'NSObject * requires a bridged cast</p>
  
  <pre><code>NSAutoreleasePool* myPool = [[NSAutoreleasePool alloc] init];
  </code></pre>
  
  <p>Error: 'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode</p>
  
  <pre><code>SCNetworkReachabilityContext    context = {0, self, NULL, NULL, NULL};
  </code></pre>
  
  <p>Error: Implicit conversion of an Object-C pointer to 'void *' is disallowed with ARC</p>
  
  <p>There is a bunch of ARC forbids explicit message send of 'release'/'autorelease'. </p>
  
  <p>Is there a version of the code that will work for ARC?</p>
  
  <p>Thanks</p>