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"
)
}
- Swift 3 version
- SwiftValidator integration?
Demetrio Filocamo, [email protected]
EurekaCreditCard is available under the MIT license. See the LICENSE file for more info.