Skip to content

Commit

Permalink
Update cocoapods version, update readme to mention cocoapods support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Apr 15, 2019
1 parent c60dfc1 commit cd75e96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JSONAPI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "JSONAPI"
spec.version = "0.18.2"
spec.version = "0.19.0"
spec.summary = "Swift Codable JSON API framework."

# This description is used to generate tags and improve search results.
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ See the JSON API Spec here: https://jsonapi.org/format/
- [Caveat](#caveat)
- [Dev Environment](#dev-environment)
- [Prerequisites](#prerequisites)
- [CocoaPods](#cocoapods)
- [Xcode project](#xcode-project)
- [Running the Playground](#running-the-playground)
- [Project Status](#project-status)
Expand All @@ -33,8 +34,8 @@ See the JSON API Spec here: https://jsonapi.org/format/
- [`JSONAPI.Entity`](#jsonapientity)
- [`Meta`](#meta)
- [`Links`](#links)
- [`IdType`](#idtype)
- [`MaybeRawId`](#mayberawid)
- [`RawIdType`](#rawidtype)
- [Convenient `typealiases`](#convenient-typealiases)
- [`JSONAPI.Relationships`](#jsonapirelationships)
- [`JSONAPI.Attributes`](#jsonapiattributes)
Expand Down Expand Up @@ -82,7 +83,15 @@ If you find something wrong with this library and it isn't already mentioned und

## Dev Environment
### Prerequisites
1. Swift 4.2+ and Swift Package Manager
1. Swift 4.2+
2. Swift Package Manager *OR* Cocoapods

### CocoaPods
To use this framework in your project via Cocoapods instead of Swift Package Manager, add the following dependencies to your Podfile.
```
pod 'Poly', :git => 'https://github.com/mattpolzin/Poly.git'
pod 'JSONAPI', :git => 'https://github.com/mattpolzin/JSONAPI.git'
```

### Xcode project
To create an Xcode project for JSONAPI, run
Expand Down

0 comments on commit cd75e96

Please sign in to comment.