Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acm-uiuc/groot-swift
Pod for making access to Groot APIs easy
https://github.com/acm-uiuc/groot-swift
groot swift
Last synced: 18 days ago
JSON representation
Pod for making access to Groot APIs easy
- Host: GitHub
- URL: https://github.com/acm-uiuc/groot-swift
- Owner: acm-uiuc
- License: other
- Created: 2017-04-24T03:46:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-03T23:40:51.000Z (about 7 years ago)
- Last Synced: 2024-10-18T16:19:16.386Z (30 days ago)
- Topics: groot, swift
- Language: Swift
- Size: 101 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GrootSwift
[![Join the chat at https://acm-uiuc.slack.com/messages/C6XGZD212/](https://img.shields.io/badge/slack-groot-724D71.svg)](https://acm-uiuc.slack.com/messages/C6XGZD212/)
Pod for easily adding Groot integration to your iOS App or Swift Project
## Requirements
- iOS 10.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 8.0+
- Swift 3.0+## Installation
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
```bash
$ gem install cocoapods
```> CocoaPods 1.0.0+ is required to build GrootSwift.
To integrate GrootSwift into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
platform :ios, '10.0'
use_frameworks!target '' do
pod 'GrootSwift', '~> 0.3.1'
end
```Then, run the following command:
```bash
$ pod install
```## Usage
### Example Merch Service Request
```swift
import GrootSwiftMerchService.getItems(success: { (json) in
// Handle Success (Background thread)
}) { (error) in
// Handle Failure (Background thread)
}.perform(withAuthorization: nil)
```## License
This project is licensed under the University of Illinois/NCSA Open Source License. For a full copy of this license take a look at the LICENSE file.
When contributing new files to this project, preappend the following header to the file as a comment:
```
Copyright © 2017, ACM@UIUCThis 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.
```