Latest 0.1.3
Homepage https://github.com/demetrio812/EurekaCreditCard
License MIT
Platforms ios 8.0, requires ARC
Dependencies Eureka, BKMoneyKit
Authors

Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

EurekaCreditCard is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "EurekaCreditCard"

Code

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"
            )
        }

Screenshots

Styles

Styles

Selectors for month and year

Selectors for month and year

TODO

  • SwiftValidator integration?

Author

Demetrio Filocamo, [email protected]

License

EurekaCreditCard is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "EurekaCreditCard",
    "version": "0.1.3",
    "summary": "Eureka custom row and cell for credit card data",
    "description": "Custom Credit Card row for Eureka to quickly collect credit card data in an Eureka form.",
    "homepage": "https://github.com/demetrio812/EurekaCreditCard",
    "screenshots": [
        "https://github.com/demetrio812/EurekaCreditCard/raw/master/demo_styles.png",
        "https://github.com/demetrio812/EurekaCreditCard/raw/master/demo_selector.png"
    ],
    "license": "MIT",
    "authors": {
        "Demetrio Filocamo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/demetrio812/EurekaCreditCard.git",
        "tag": "0.1.3"
    },
    "social_media_url": "https://twitter.com/demetrio812",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "EurekaCreditCard": [
            "Pod/Assets/*.png"
        ]
    },
    "dependencies": {
        "Eureka": [],
        "BKMoneyKit": []
    }
}

Pin It on Pinterest

Share This