TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Apr 2016 |
SPMSupports SPM | ✗ |
Maintained by Demetrio Filocamo.
Depends on: | |
Eureka | >= 0 |
BKMoneyKit | >= 0 |
To run the example project, clone the repo, and run pod install
from the Example directory first.
EurekaCreditCard is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "EurekaCreditCard"
form +++= Section("Credit card information")
<<< CreditCardRow() {
//$0.title = "Card"
$0.cardNumberPlaceholder = "Card Number"
$0.expirationMonthPlaceholder = "MM"
$0.expirationYearPlaceholder = "YY"
$0.cvcPlaceholder = "CVC"
//$0.dataSectionWidthPercentage = CGFloat(0.5)
// $0.value = CreditCard()
$0.value = CreditCard(
cardNumber: "1",
expirationMonth: "02",
expirationYear: "2018",
cvc: "4"
)
}
Demetrio Filocamo, [email protected]
EurekaCreditCard is available under the MIT license. See the LICENSE file for more info.