Skip to content

Commit 4a98b61

Browse files
author
floriel-fedry-cko
committed
v2.5.0
1 parent e4929f7 commit 4a98b61

File tree

137 files changed

+2989
-336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+2989
-336
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55

66
#### 2.x Releases
77

8+
## [2.5.0](https://github.com/checkout/frames-ios/releases/tag/2.5.0)
9+
10+
Released on 2018-11-14.
11+
12+
#### Modified
13+
14+
* Change the delegate method to not expose the card request in it.
15+
816
## [2.4.0](https://github.com/checkout/frames-ios/releases/tag/2.4.0)
917

1018
Released on 2018-11-08.

Frames.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Frames"
3-
s.version = "2.4.6"
3+
s.version = "2.5.0"
44
s.summary = "Checkout API Client, Payment Form UI and Utilities in Swift"
55
s.description = <<-DESC
66
Checkout API Client and Payment Form Utilities in Swift.

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ class ViewController: UIViewController, CardViewControllerDelegate {
9191

9292
let checkoutAPIClient = CheckoutAPIClient(publicKey: "pk_test_6ff46046-30af-41d9-bf58-929022d2cd14",
9393
environment: .sandbox)
94-
let cardViewController = CardViewController(cardHolderNameState: .hidden, billingDetailsState: .hidden)
94+
var cardViewController: CardViewController {
95+
let checkoutAPIClient = CheckoutAPIClient(publicKey: "pk_test_03728582-062b-419c-91b5-63ac2a481e07",
96+
environment: .sandbox)
97+
return CardViewController(checkoutApiClient: checkoutAPIClient, cardHolderNameState: .hidden, billingDetailsState: .hidden)
98+
}
9599

96100
override func viewDidLoad() {
97101
super.viewDidLoad()
@@ -177,11 +181,13 @@ The error handler takes an `ErrorResponse` as a parameter.
177181

178182
```swift
179183
var cardViewController: CardViewController {
180-
CheckoutTheme.primaryBackgroundColor = .blue
181-
CheckoutTheme.secondaryBackgroundColor = .purple
182-
CheckoutTheme.errorColor = .yellow
183-
CheckoutTheme.color = .green
184-
return CardViewController(cardHolderNameState: .hidden, billingDetailsState: .normal)
184+
let checkoutAPIClient = CheckoutAPIClient(publicKey: "pk_test_03728582-062b-419c-91b5-63ac2a481e07",
185+
environment: .sandbox)
186+
CheckoutTheme.primaryBackgroundColor = .blue
187+
CheckoutTheme.secondaryBackgroundColor = .purple
188+
CheckoutTheme.errorColor = .yellow
189+
CheckoutTheme.color = .green
190+
return CardViewController(checkoutApiClient: checkoutAPIClient, cardHolderNameState: .hidden, billingDetailsState: .normal)
185191
}
186192
```
187193

docs/Classes.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -306,7 +314,7 @@ <h4>Declaration</h4>
306314
</div>
307315
</div>
308316
<div class="slightly-smaller">
309-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressView.swift#L5-L102">Show on GitHub</a>
317+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressView.swift#L5-L103">Show on GitHub</a>
310318
</div>
311319
</section>
312320
</div>
@@ -343,7 +351,7 @@ <h4>Declaration</h4>
343351
</div>
344352
</div>
345353
<div class="slightly-smaller">
346-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L5-L185">Show on GitHub</a>
354+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L5-L187">Show on GitHub</a>
347355
</div>
348356
</section>
349357
</div>
@@ -520,7 +528,7 @@ <h4>Declaration</h4>
520528
</div>
521529
</div>
522530
<div class="slightly-smaller">
523-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/CardView.swift#L5-L150">Show on GitHub</a>
531+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/CardView.swift#L5-L151">Show on GitHub</a>
524532
</div>
525533
</section>
526534
</div>
@@ -559,7 +567,7 @@ <h4>Declaration</h4>
559567
</div>
560568
</div>
561569
<div class="slightly-smaller">
562-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/CardViewController.swift#L5-L278">Show on GitHub</a>
570+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/CardViewController.swift#L5-L289">Show on GitHub</a>
563571
</div>
564572
</section>
565573
</div>
@@ -971,7 +979,7 @@ <h4>Declaration</h4>
971979
</article>
972980
</div>
973981
<section class="footer">
974-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
982+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
975983
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
976984
</section>
977985
</body>

docs/Classes/AddressView.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -362,7 +370,7 @@ <h4>Declaration</h4>
362370
</article>
363371
</div>
364372
<section class="footer">
365-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
373+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
366374
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
367375
</section>
368376
</body>

docs/Classes/AddressViewController.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -625,7 +633,7 @@ <h4>Declaration</h4>
625633
</div>
626634
</div>
627635
<div class="slightly-smaller">
628-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L166-L169">Show on GitHub</a>
636+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L168-L171">Show on GitHub</a>
629637
</div>
630638
</section>
631639
</div>
@@ -666,7 +674,7 @@ <h4>Declaration</h4>
666674
</div>
667675
</div>
668676
<div class="slightly-smaller">
669-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L174-L176">Show on GitHub</a>
677+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L176-L178">Show on GitHub</a>
670678
</div>
671679
</section>
672680
</div>
@@ -707,7 +715,7 @@ <h4>Declaration</h4>
707715
</div>
708716
</div>
709717
<div class="slightly-smaller">
710-
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L181-L183">Show on GitHub</a>
718+
<a href="https://github.com/checkout/frames-ios/tree/master/Source/AddressViewController.swift#L183-L185">Show on GitHub</a>
711719
</div>
712720
</section>
713721
</div>
@@ -720,7 +728,7 @@ <h4>Declaration</h4>
720728
</article>
721729
</div>
722730
<section class="footer">
723-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
731+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
724732
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
725733
</section>
726734
</body>

docs/Classes/CardListCell.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -553,7 +561,7 @@ <h4>Parameters</h4>
553561
</article>
554562
</div>
555563
<section class="footer">
556-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
564+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
557565
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
558566
</section>
559567
</body>

docs/Classes/CardListCellName.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -403,7 +411,7 @@ <h4>Declaration</h4>
403411
</article>
404412
</div>
405413
<section class="footer">
406-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
414+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
407415
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
408416
</section>
409417
</body>

docs/Classes/CardNumberInputView.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -538,7 +546,7 @@ <h4>Declaration</h4>
538546
</article>
539547
</div>
540548
<section class="footer">
541-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
549+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
542550
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
543551
</section>
544552
</body>

docs/Classes/CardUtils.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="header-link" href="../index.html">
2424
FramesIos Docs
2525
</a>
26-
(97% documented)
26+
(96% documented)
2727
</p>
2828

2929
<p class="header-col--secondary">
@@ -187,6 +187,14 @@
187187
</li>
188188
</ul>
189189
</li>
190+
<li class="nav-group-name">
191+
<a class="nav-group-name-link" href="../Other Enums.html">Other Enumerations</a>
192+
<ul class="nav-group-tasks">
193+
<li class="nav-group-task">
194+
<a class="nav-group-task-link" href="../Enums/CheckoutTokenStatus.html">CheckoutTokenStatus</a>
195+
</li>
196+
</ul>
197+
</li>
190198
<li class="nav-group-name">
191199
<a class="nav-group-name-link" href="../Other Functions.html">Other Functions</a>
192200
<ul class="nav-group-tasks">
@@ -928,7 +936,7 @@ <h4>Return Value</h4>
928936
</article>
929937
</div>
930938
<section class="footer">
931-
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-09)</p>
939+
<p>&copy; 2018 <a class="link" href="https://www.checkout.com/" target="_blank" rel="external">Checkout</a>. All rights reserved. (Last updated: 2018-11-14)</p>
932940
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
933941
</section>
934942
</body>

0 commit comments

Comments
 (0)