Closed apcorc closed 8 years ago
A string extension to validate if every character within the string is numeric.
Usage:
if let myString = textField.text where myString.isNumeric { // User typed valid numeric non-empty entry }
Add tests.
:+1:
Looks good :+1:
A string extension to validate if every character within the string is numeric.
Usage: