Skip to content

Commit cd75e96

Browse files
committed
Update cocoapods version, update readme to mention cocoapods support.
1 parent c60dfc1 commit cd75e96

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

JSONAPI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
1616
#
1717

1818
spec.name = "JSONAPI"
19-
spec.version = "0.18.2"
19+
spec.version = "0.19.0"
2020
spec.summary = "Swift Codable JSON API framework."
2121

2222
# This description is used to generate tags and improve search results.

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ See the JSON API Spec here: https://jsonapi.org/format/
1616
- [Caveat](#caveat)
1717
- [Dev Environment](#dev-environment)
1818
- [Prerequisites](#prerequisites)
19+
- [CocoaPods](#cocoapods)
1920
- [Xcode project](#xcode-project)
2021
- [Running the Playground](#running-the-playground)
2122
- [Project Status](#project-status)
@@ -33,8 +34,8 @@ See the JSON API Spec here: https://jsonapi.org/format/
3334
- [`JSONAPI.Entity`](#jsonapientity)
3435
- [`Meta`](#meta)
3536
- [`Links`](#links)
36-
- [`IdType`](#idtype)
3737
- [`MaybeRawId`](#mayberawid)
38+
- [`RawIdType`](#rawidtype)
3839
- [Convenient `typealiases`](#convenient-typealiases)
3940
- [`JSONAPI.Relationships`](#jsonapirelationships)
4041
- [`JSONAPI.Attributes`](#jsonapiattributes)
@@ -82,7 +83,15 @@ If you find something wrong with this library and it isn't already mentioned und
8283

8384
## Dev Environment
8485
### Prerequisites
85-
1. Swift 4.2+ and Swift Package Manager
86+
1. Swift 4.2+
87+
2. Swift Package Manager *OR* Cocoapods
88+
89+
### CocoaPods
90+
To use this framework in your project via Cocoapods instead of Swift Package Manager, add the following dependencies to your Podfile.
91+
```
92+
pod 'Poly', :git => 'https://github.com/mattpolzin/Poly.git'
93+
pod 'JSONAPI', :git => 'https://github.com/mattpolzin/JSONAPI.git'
94+
```
8695

8796
### Xcode project
8897
To create an Xcode project for JSONAPI, run

0 commit comments

Comments
 (0)