Skip to content

Commit

Permalink
Carthage file and podspec updated to Eureka 3.0. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karina Fernandez authored and mats-claassen committed Apr 26, 2017
1 parent cd63484 commit 3405feb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to CreditCardRow will be documented in this file.

### [2.1.0](https://github.com/EurekaCommunity/GenericPasswordRow/releases/tag/2.1.0)
<!-- Released on 2017-04-25. -->

* Added Eureka 3.0.0 support

### [2.0.0](https://github.com/xmartlabs/CreditCardRow/releases/tag/2.0.0)
<!-- Released on 2016-10-18. -->

Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "xmartlabs/Eureka" ~> 2.0.0
github "xmartlabs/Eureka" ~> 3.0
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "xmartlabs/Eureka" "2.0.0-beta.1"
github "xmartlabs/Eureka" "3.0.0"
4 changes: 2 additions & 2 deletions CreditCardRow.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CreditCardRow"
s.version = "2.0.0"
s.version = "2.1.0"
s.summary = "An Eureka row that allows the user to input a credit card number with optional CVC and expiration date."
s.homepage = "https://github.com/EurekaCommunity/CreditCardRow"
s.license = { type: 'MIT', file: 'LICENSE' }
Expand All @@ -14,5 +14,5 @@ Pod::Spec.new do |s|
'CreditCardRow' => ['Sources/CreditCardCell.xib']
}
s.ios.frameworks = 'UIKit', 'Foundation'
s.dependency 'Eureka', '~> 2.0.0-beta.1'
s.dependency 'Eureka', '3.0'
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ViewController: FormViewController {
## Requirements

* iOS 8.0+
* Xcode 8+
* Xcode 8.3+

## Getting involved

Expand Down
2 changes: 1 addition & 1 deletion Sources/CreditCardCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ open class CreditCardCell: Cell<CreditCardInfo>, UITextFieldDelegate, CellType {
expirationField?.becomeFirstResponder()
}
else if expirationField?.isFirstResponder == true {
sender == inputAccessoryView.previousButton ? numberField.becomeFirstResponder() : cvvField?.becomeFirstResponder()
_ = (sender == inputAccessoryView.previousButton ? numberField.becomeFirstResponder() : cvvField?.becomeFirstResponder())
}
else if cvvField?.isFirstResponder == true {
expirationField?.becomeFirstResponder()
Expand Down

0 comments on commit 3405feb

Please sign in to comment.