GrootSwift 0.6.1

GrootSwift 0.6.1

测试已测试
语言语言 SwiftSwift
许可 自定义
发布最后发布2017年4月
SwiftSwift 版本3.0
SPM支持 SPM

Rauhul Varma 维护。



  • ACM@UIUC

为您的 iOS 应用或 Swift 项目轻松添加 Groot 集成的 Pod

要求

  • iOS 10.0+ / tvOS 10.0+
  • Xcode 8.0+
  • Swift 3.0+

安装

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

$ gem install cocoapods

要构建 GrootSwift,需要 CocoaPods 1.0.0+。

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

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.