Github iOS Client based on Github REST V3 API and GraphQL V4 API
基于 Github REST V3 API 和 @latest/graphql">Github GraphQL V4 API 开发的Github iOS客户端
准备开发环境
安装bundle
gem install bundle
下载项目源码
git clone https://github.com/ExistOrLive/GithubClient.git
切换至 ZLGithubClient/ZLGithubClient
目录下,执行 bundle install
,安装依赖的ruby工具,如 cocoapods ,fastlane 等
cd ZLGithubClient/ZLGithubClient
bundle install
执行 bundle exec pod install
bundle exec pod install
在使用源码前,需要 Github 的账户下创建一个 OAuth Application,具体请参考官方文档 Creating an OAuth App; 创建 OAuth Application 后,获得Client ID
和 Client Secret
ZLGithubClient 使用 Bugly 和 Firebase 作为分析工具,因此需要创建对应应用并获取 Bugly App Id
和 GoogleService-Info.plist
将 GoogleService-Info.plist
拷贝到项目对应目录下;创建 ZLGithubAppKey.h
文件,提供宏定义 ,并拷贝到对应的目录下
构建工程
Thanks goes to these wonderful people (emoji key):
朱猛 💻 | longxiaochi 💻 | ZXHubs 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
普通的代码千篇一律,优秀的代码万里挑一。开源就如星星之火正在燎原,本项目是开源世界中小小一隅,如果有感兴趣的开发者欢迎加入, 若有意请联系2068531506@qq.com">2068531506@qq.com.