dimanche 24 janvier 2016

IOS : Best practices for Fields Validation on User Interface

In my app I want to validate user inputs in the field. For Example

If textfields is empty. Or email is in correct formate

I don't want to add validation logic in ViewController, Neither I want to pass UIView to a Validator Class

enter image description here

I have multiple screens like this.

Any suggestion for best ways validating Screens.

Aucun commentaire:

Enregistrer un commentaire