【文件属性】:
文件名称:GithubWrapper:github API的Objective-C包装器
文件大小:1.03MB
文件格式:ZIP
更新时间:2021-05-22 17:39:54
Objective-C
Objective-C中的GitHub API包装器
安装
安装 。
克隆此项目
在该项目的主目录中,运行pod install
在XCode中打开Wrapper.xcworkspace
用法
为了在另一个项目中使用此框架,请执行以下步骤:
安装 。
在项目的主目录中,创建一个名为Podfile的文件并添加以下内容:
platform :ios
pod 'GithubWrapper', :git => "git://github.com/adsantos/GithubWrapper.git"
运行Pod安装
在XCode中打开生成的* .xcworkspace
运行Pods目标
运行项目目标
例子
项目使用此框架。
测验
运行Pods目标。
运行GithubStatsTests目标。
去做
添加更多Github API端点。
使用OCMock添加模拟。
添加OAuth支
【文件预览】:
GithubWrapper-master
----Wrapper()
--------Framework()
--------en.lproj()
--------main.m(345B)
--------Wrapper-Info.plist(1KB)
--------Default-568h@2x.png(18KB)
--------Wrapper-Prefix.pch(373B)
--------AppDelegate.h(286B)
--------Default.png(6KB)
--------Default@2x.png(16KB)
--------AppDelegate.m(2KB)
----Tests()
--------TestWrapper.m(6KB)
--------en.lproj()
--------main.m(328B)
--------Tests-Info.plist(1KB)
--------GHUnitIOS.framework()
--------Default-568h@2x.png(18KB)
--------Default.png(6KB)
--------Default@2x.png(16KB)
--------Tests-Prefix.pch(369B)
----Podfile(45B)
----LICENSE(1KB)
----Wrapper.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(27KB)
----README.md(2KB)
----Wrapper.xcworkspace()
--------contents.xcworkspacedata(167B)
----GithubWrapper.podspec(602B)
----.gitignore(61B)