I want to unwrap two optionals in one if statement, but the compiler complaints about an expected expression after operator at the password constant. What could be the reaso
I can't explain why the above code doesn't work, but this would be good a replacement:
if let email = self.emailField?.text { if let password = self.passwordField?.text { //do smthg } }