A Swift version of VIN validations using Swift 5.0
Just after installation
import SwiftyVIN
Create SwiftyVIN object
let swiftyVin: SwiftyVIN = SwiftyVIN("")
Then validate
swiftyVin.isValid()
To enable debug mode
SwiftyVINLogger.shared.debugMode = true
Add the following inside your podfile
use_frameworks!
pod 'SwiftyVIN'
Then
pod install
Checking valid and invalid VIN with 100% code coverage.
- VIN.pdf - VIN document.
- inspired from python-libvin
- Majd Sabah - Initial work - sbhmajd