prolificinteractive / Caishen

A Payment Card UI & Validator for iOS
MIT License
766 stars 119 forks source link

CardValidationResult { } characters in description #8

Closed MichaelCampbell closed 8 years ago

MichaelCampbell commented 8 years ago

Currently there is no way to get plain text error messages from a CardValidationResult. The results are put into a JSON like structure, as seen in the following image.

Card Validation Result

Would it be possible to have a function or property that returns an array of strings, or update description to remove the { \t and } characters, and the initial new line character?

Haud commented 8 years ago

Please see #9 for a fix.

MichaelCampbell commented 8 years ago

works well, thanks for the fix