CocoaPods trunk is moving to be read-only. Read more on the blog, there are 15 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2015 |
Maintained by Anthony Foster.
pod install APIHTTPClient
#import "AppDelegate.h"
#import <APIClient/APIClient.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
APIClient *client = [[APIClient alloc] init];
client.baseURL = [NSURL URLWithString:@"https://api.github.com"];
// client.accessToken = @"test";
[client GET:@"/" done:^(NSError *error, id response) {
NSLog(@"Response: %@ %@", error, response);
}];
return YES;
}
@end