Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.461 kB
//
// ConnectivityController.m
// git-phone
//
// Created by Sam Schroeder on 1/17/09.
// Copyright 2009 Proton Microsystems, LLC. All rights reserved.
//
#import "ConnectivityController.h"
@implementation ConnectivityController
+ (BOOL)isGitHubWebServiceReachable:(NSString *)url {
[[Reachability sharedReachability] setHostName:[[NSURL URLWithString:url] host]];
return [[Reachability sharedReachability] remoteHostStatus] != NotReachable;
}
@end
Jump to Line
Something went wrong with that request. Please try again.