CreditCardForm is iOS framework that allows developers to create the UI which replicates an actual Credit Card.
Fixed typo use CreditCardForm instead CreditCardForum
To run the example project, clone the repo, and run pod install
from the Demo-* directory first.
- MasterCard
- Visa
- JCB
- Diners
- Discover
- Amex
- UnionPay
- Xcode 8
- iOS 8.1+
Using CocoaPods
CreditCardForm is available through CocoaPods. To install it, simply add the following line to your Podfile
:
pod "CreditCardForm"
Using Carthage
CreditCardForm is available through Carthage. To install it, simply add the following line to your Cartfile
:
github "orazz/CreditCardForm-iOS"
If you prefer not to use either of the aforementioned dependency managers, you can integrate CreditCardForm into your project manually.
- Download and drop
CreditCardForm
in your project. - Done!
First step: this framework integrated with Stripe, you must install Stripe
Create a view set a class CreditCardFormView (preferred frame size: 300x200).
Following this you will have to go through a few simple steps outlined below in order to get everything up and running.
import Stripe
import CreditCardForm