Skip to content

Commit 15ba51b

Browse files
authored
Merge pull request #3 from MaeseppTarvo/master
Pod support added
2 parents 9e36195 + c8cd5fc commit 15ba51b

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.DS_Store

8 KB
Binary file not shown.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ for Swift 2.2 use the `0.2.2` tag. This version will not be supported.
2222
```
2323
github "Gujci/RESTAPI" "== 0.2.2"
2424
```
25-
25+
## CocoaPods
26+
```
27+
pod 'RESTAPI'
28+
```
2629

2730
# Examples
2831

@@ -118,6 +121,7 @@ var sessionAuthenticator: RequestAuthenticator {
118121
## 1.0
119122
- [x] Document the authentication
120123
- [x] Carthage support
124+
- [x] CocoaPods support
121125
- [ ] expand error types to almost full
122126
- [ ] make JSON and [JSON] comform to JSONParseable to reduce redundant code
123127
- [ ] Add more unit tests

RESTAPI.podspec

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'RESTAPI'
3+
s.version = '0.3.7'
4+
s.summary = 'Lightweight REST API communicator written in Swift, based on Foundation.'
5+
6+
s.description = <<-DESC
7+
Lightweight REST API communicator written in Swift, based on Foundation. An easy tool to communicate with your server's API in JSON format. Supports querys and valid JSON objects in the HTTP body. The framework supports GET, POST, PUT and DELETE requests for now.
8+
9+
10+
DESC
11+
12+
s.homepage = 'https://github.com/MaeseppTarvo/RESTAPI'
13+
s.license = { :type => 'MIT', :file => 'LICENSE' }
14+
s.author = { 'Tarvo Mäesepp' => '[email protected]' }
15+
s.source = { :git => 'https://github.com/MaeseppTarvo/RESTAPI.git', :tag => s.version.to_s }
16+
17+
s.ios.deployment_target = '9.3'
18+
s.source_files = 'RESTAPI/*.swift'
19+
s.dependency 'SwiftyJSON'
20+
21+
end

0 commit comments

Comments
 (0)