Swift: check empty textfields or contains “,”

To check whether or not the textfields are empty or cotains “,” symbol:

Print Friendly