ethanwa / Credit-Card-Scanner-and-Validator-for-Swift

Uses the iOS Vision text recognizer framework to visually read credit card numbers and expiration dates. Then uses the Luhn algorithm to make sure the CC number is valid. Also checks against a list of prefix numbers to determine card type (Mastercard, Visa, Discover, Amex, etc).
MIT License
17 stars 3 forks source link

Add SPM support #6

Open ethanwa opened 3 years ago