VSTextField
VSTextField copied to clipboard
Dead simple drop-in subclass of UITextField with super easy number formatting.
Since we now have a proper showcase app (thanks to #15), we should redo the reame file. It would be great to put some screenshots and gifs of the app...
When our custom format is like ##.##.#### we can read the text as ######## at the end. It will be great if we can also get an option to get...
The first time the cell is initialized, the values load fine (textfield text was set from database - not entered this time) ``` Actual value: "+14153211234" Textfield value: "14153211234" Displayed...
Here's an example:  Potentially relevant reading - this answer of mine from years ago which addresses this problem in a similar context: https://stackoverflow.com/a/19161529/1709587
I tried with the numeric keyboard and it doesn't delete the numbers.
I tried the example: `textField.setFormatting("##-##-##", replacementChar: "#")` It only allows writing `"##-##-#"`, e.g. `"12-34-5"`.