If you need to limit user input on a UITextField to decimal characters only, either for currency or something else here’s a bit of code that accomplishes that.