groot-swift 0.5.1

groot-swift 0.5.1

测试已测试
Lang语言 SwiftSwift
许可证 自定义
Released最新发布2017年4月
SwiftSwift 版本3.1
SPM支持 SPM

Rauhul Varma 维护。



  • acm@uiuc

GrootSwift

Pod,可轻松将 Groot 集成到您的 iOS 应用或 Swift 项目中

要求

  • iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 8.2+
  • Swift 3.1+

安装

CocoaPods 是 Cocoa 项目的依赖管理器。您可以使用以下命令安装它

$ gem install cocoapods

构建 GrootSwift 需要 CocoaPods 1.1.0+。

要使用 CocoaPods 将 GrootSwift 集成到您的 Xcode 项目中,请在您的 Podfile 中指定它

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'GrootSwift', '~> 0.3.1'
end

然后,运行以下命令

$ pod install

用法

商品服务请求示例

import GrootSwift

MerchService.getItems(success: { (json) in
    // Handle Success (Background thread)
}) { (error) in
    // Handle Failure (Background thread)
}.perform(withAuthorization: nil)

许可证

此项目受伊利诺伊大学/NCSA 开源许可证的许可。要查看此许可证的完整副本,请查看 LICENSE 文件。

当向此项目贡献新文件时,将以下标题预先附加到文件作为注释

Copyright © 2017, ACM@UIUC

This file is part of the Merch Project.

The Merch Project is open source software, released under the University of Illinois/NCSA Open Source License.
You should have received a copy of this license in a file with the distribution.