Skip to content

Commit

Permalink
Updated to v3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodgkins committed Apr 12, 2019
1 parent e4cf63a commit beb9b6f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion HTTPStatusCodes.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'HTTPStatusCodes'
s.version = '3.3.0'
s.version = '3.3.1'
s.license = 'MIT'
s.summary = 'Swift enum wrapper for easier handling of HTTP status codes'
s.homepage = 'https://github.com/rhodgkins/SwiftHTTPStatusCodes'
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ If this library is out of date compared to this page please open an issue and I

## Usage

Swift 3.0 support is added in version 3.1 of this framework. For use with older versions of Swift use version 3.0.
### Swift versions support

* Swift 5 - use version 3.3.1
* Swift 4 - use version 3.3.0
* Swift 3 - use version 3.1
* Older versions - use version 3.0

### Carthage

`Cartfile`:
```ogdl
github "rhodgkins/SwiftHTTPStatusCodes" ~> 3.2
github "rhodgkins/SwiftHTTPStatusCodes" ~> 3.3
```
Source code:
```swift
Expand All @@ -32,7 +37,7 @@ import HTTPStatusCodes
### CocoaPods
`Podfile`:
```ruby
pod 'HTTPStatusCodes', '~> 3.2.0'
pod 'HTTPStatusCodes', '~> 3.3.0'
```
Source code:

Expand Down
2 changes: 1 addition & 1 deletion Tests/HTTPStatusCodes.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

PRODUCT_NAME = HTTPStatusCodes
PRODUCT_BUNDLE_IDENTIFIER = uk.co.rhodgkins.swift.$(PRODUCT_NAME:rfc1034identifier)
HSC_VERSION = 3.3.0
HSC_VERSION = 3.3.1

// Universal Framework
APPLICATION_EXTENSION_API_ONLY = YES
Expand Down

0 comments on commit beb9b6f

Please sign in to comment.