File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ matrix:
10
10
env : ACTION=watchOS
11
11
# - os: osx
12
12
# env: ACTION=carthage
13
- - os : osx
14
- env : ACTION=cocoapods
13
+ # - os: osx
14
+ # env: ACTION=cocoapods
15
15
16
16
language : objective-c
17
17
osx_image : xcode8
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ In TRON 1.0 there was a concept of encoding strategy - that determined which enc
27
27
28
28
``` swift
29
29
public protocol Parseable {
30
- static func parse <T :Parseable >(_ data : Data) throws -> T
30
+ associatedtype ModelType
31
+
32
+ /// Parse `data`, creating `ModelType` model.
33
+ func parse (_ data : Data) throws -> ModelType
31
34
}
32
35
```
33
36
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ import Foundation
31
31
public protocol Parseable {
32
32
associatedtype ModelType
33
33
34
- /// Parse `data`, creating `Parseable ` model.
34
+ /// Parse `data`, creating `ModelType ` model.
35
35
func parse( _ data: Data ) throws -> ModelType
36
36
}
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'TRON'
3
- s . version = '2.0.0-beta.1 '
3
+ s . version = '2.0.0-beta.2 '
4
4
s . license = 'MIT'
5
5
s . summary = 'Lightweight network abstraction layer, written on top of Alamofire'
6
6
s . homepage = 'https://github.com/MLSDev/TRON'
You can’t perform that action at this time.
0 commit comments