基于Github REST V3 API和Github GraphQL V4 API开发的iOS客户端。目前支持以下的功能:
在使用源码前,需要Github的账户下创建一个OAuth Application,具体请参考官方文档Creating an OAuth App
创建OAuth Application后,获得Client ID
和 Client Secret
。打开工程下ZLGithubAppKey.h
文件,替换宏MyClientID
和 MyClientSecret
在工程ZLGithubClient目录下,执行pod install
安装工程依赖的库
在 Xcode中运行工程
/*********************************************************** * Author : Samson * Date : 08/15/2015 * Test platform: * gcc 4.8.2 * GNU bash, 4.3.11(1)-release (x86_64-pc-linux-gnu) * Debian 8 * ******