/easyregister

Framework Register easy for swift 3

Primary LanguageSwift

Easy Register

Create easy your Text Fields!

You can validate this form

  • Name

  • Email

  • Phone

  • Password

  • C.P.

  • Number

  • EmailCheck

  • PasswordCheck

  • Addres

Step 1

Use a view and use custom class : TextFieldFormEasy

Step 2

Write Error Text, image valid, background color, Text Color etc..

Delegate

You need Delegate TextFieldFormEasyDelegate

TextFieldFormEasyDelegate
  • Validate postal code
func validateCodigoPostal(_field: TextFieldFormEasy, codigoPostalValidate result: Bool, mensajeError: String?)
  • textFieldDidEndEditing
func TextFieldValidate (_field: TextFieldFormEasy, errorMessage errorMensaje: String? )

Example

    @IBOutlet weak var nombre: TextFieldFormEasy!
    override func viewDidLoad() {
        super.viewDidLoad()
        nombre.delegate = self
        nombre.mode = TextFieldFormEasyType.name.rawValue
        // Do any additional setup after loading the view.
    }

Free Software, Hell Yeah!