I am trying to check if a textbox has no value.
When I do this:
if(userEmail?.isEmpty || userPassword?.isEmpty || userPasswordRepeat?.isEmpty)
Try this....
if txtEmail.text?.isEmpty == true || txtPassword.text?.isEmpty == true || txtRePassword.text?.isEmpty == true{ print("true") }