Phone number validation in swift language

Simple phone number validation in swift ios 8 , Using this function you can easily check phone number . Also have some example for this using NSPredicate etc .

you can see lots of method for number validation. But I made this sort method

Advertisements