Xcode – check all textfields simultaneously & only enable button if they have text
I want to enable and change color of a button depending on text in password and confirm password textfields. So I found this code online: func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { let tfConfirmPasswordText…