Quantcast
Channel: What's the best way to validate currency input in UITextField? - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by Aku for What's the best way to validate currency input in UITextField?

$
0
0

You can also use Gamma-Point solution and evaluate if *aNumber is Nil, if its Nil, then it means a character that wasnt 0-9 . or , was entered, this way you can validate just numbers, it will nil the variable if any no-number char is entered.


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>