Skip to content

Commit

Permalink
Merge pull request #56 from checkout/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
daven-gomes-cko authored Mar 31, 2021
2 parents fda53fc + b06466d commit d7f4396
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.

#### 3.x Releases

## [3.4.0](https://github.com/checkout/frames-ios/releases/tag/3.4.0)

Released on 2021-03-31.

#### Added

* User-agent for requests.

#### Fixed

* Response objects are now decoded properly using snake case.
* Distribution via Swift Package Manager is now fixed.

### Removed
* PhoneNumberKit source files have been removed, which were embedded in the framework. This includes `CKOPhoneNumberKit`. PhoneNumberKit is now referenced from the Podspec and Swift Package Manager configuration.

## [3.3.0](https://github.com/checkout/frames-ios/releases/tag/3.3.0)

Released on 2021-02-24.
Expand Down
2 changes: 1 addition & 1 deletion Frames.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Frames"
s.version = "3.3.0"
s.version = "3.4.0"
s.summary = "Checkout API Client, Payment Form UI and Utilities in Swift"
s.description = <<-DESC
Checkout API Client and Payment Form Utilities in Swift.
Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,25 @@ $ brew update
$ brew install carthage
```

To integrate FramesIos into your Xcode project using Carthage, specify it in your `Cartfile`:
To integrate Frames into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "checkout/frames-ios" ~> 3.0
```

Run `carthage update` to build the framework and drag the built `FramesIos` into your Xcode project.
Run `carthage update` to build the framework and drag the built `Frames` into your Xcode project.

### Swift Package Manager

[Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding Frames as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.

```
dependencies: [
.package(url: "https://github.com/checkout/frames-ios.git", .upToNextMajor(from: "3.0.0"))
]
```

## Usage

Expand Down
2 changes: 1 addition & 1 deletion Source/CheckoutAPIClient+Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import Foundation

extension CheckoutAPIClient {
enum Constants {
static let version = "3.3.0"
static let version = "3.4.0"
}
}

0 comments on commit d7f4396

Please sign in to comment.