yeahdongcn / RSBarcodes_Swift

1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift.
MIT License
709 stars 185 forks source link

Added ExtCode39 validation #86

Closed mjrehder closed 7 years ago

mjrehder commented 7 years ago

There are still cases where the encodeContents will produce characters that cannot be converted, so a validation is required. For instance, try to serialize an iOS contact (CNContact) to a VCard string: That will fail to generate but pass the previous validation code.