A credit card scanner for iOS written in Swift
DGCardScanner
A credit card scanner
Requirements
- iOS 13.0+
- Swift 5.5+
- Xcode 10.0+
Installation
SPM
File > Add Packages > https://github.com/donggyushin/DGCardScanner
CocoaPod
pod 'DGCardScanner', :git => 'https://github.com/donggyushin/DGCardScanner'
Usage
DGCardScanner.appearance.helperText = "Change helper text"
let scannerView = DGCardScanner.getScanner { number, date, name in
}
self.present(scannerView, animated: true)