You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"documentation_url" = "https://developer.github.com/v3/#rate-limiting";
message = "API rate limit exceeded for 106.50.192.98. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)";
}
The text was updated successfully, but these errors were encountered:
-(void)checkUpdate
{
NSString *urlStr = [NSString stringWithFormat:@"https://api.github.com/repos/sx1989827/RunTrace/tags"];
NSString *newStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *url = [NSURL URLWithString:newStr];
NSURLRequest *requst = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:10];
[NSURLConnection sendAsynchronousRequest:requst queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse *response, NSData *data, NSError *connectionError) {
if(connectionError!=nil)
{
return;
}
NSArray *arr = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
version=[arr[0][@"name"] floatValue];
}];
}
{
"documentation_url" = "https://developer.github.com/v3/#rate-limiting";
message = "API rate limit exceeded for 106.50.192.98. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)";
}
The text was updated successfully, but these errors were encountered: