在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:owainhunt/UAGithubEngine开源软件地址:https://github.com/owainhunt/UAGithubEngine开源编程语言:Objective-C 100.0%开源软件介绍:UAGithubEngineby Owain R Hunt UAGithubEngine is a wrapper around the Github API. Check out the API documentation for full details of what the API can do. UAGithubEngine is compatible with Mac OS X 10.7 and above, and iOS 5.0. NoteThe How do I use it?
Code speaks louder than words.UAGithubEngine *engine = [[UAGithubEngine alloc] initWithUsername:@"aUser" password:@"aPassword" withReachability:YES];
[engine repositoriesWithSuccess:^(id response) {
NSLog(@"Got an array of repos: %@", obj);
} failure:^(NSError *error) {
NSLog(@"Oops: %@", error);
}];
[engine user:@"this_guy" isCollaboratorForRepository:@"UAGithubEngine" success:^(BOOL collaborates) {
NSLog(@"%d", collaborates);
} failure:^(NSError *error){
NSLog(@"D'oh: %@", error);
}]; Any questions, comments, improvements and so on, either open an issue, find me on Twitter (@orhunt) or send me an email ([email protected]). |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论