Skip to content

Commit

Permalink
fixes issue tonymillion#43
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymillion committed Jul 5, 2013
1 parent 61e7dec commit 1103912
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Reachability.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ @implementation Reachability
@synthesize reachabilityObject;

#pragma mark - class constructor methods

+(Reachability*)reachabilityWithHostName:(NSString*)hostname
{
return [Reachability reachabilityWithHostname:hostname];
}

+(Reachability*)reachabilityWithHostname:(NSString*)hostname
{
SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithName(NULL, [hostname UTF8String]);
Expand Down

0 comments on commit 1103912

Please sign in to comment.