-6
当我使用Xcode中创建日志功能,那么Xcode的表现预期低于 的问题“”分隔符 有望表达表达的列表 预期的‘{’之后‘如果’条件 预期 ')' 的表达式列表斯威夫特:预期“”分隔符
if(userEmail.isEmpty || userPassword.isEmpty || userConfirmPassword.isEmpty) {
displayMyAlertMessage("All fields are required");
return false;
}
if(userPassoword != userConfirmPassword) {
displayMyAlertMessage("Passwords don't match");
return false;
}
Ummmmm ......你能告诉我们你的代码,好吗?如果我们不知道你做了什么,我们就无能为力。 –
如果(userEmail.isEmpty || userPassword.isEmpty || userConfirmPassword.isEmpty) { displayMyAlertMessage( “所有领域都需要”); 返回FALSE; } 如果(userPassoword = userConfirmPassword!) { displayMyAlertMessage(“密码不匹配”); 将返回false;} 。 –
这两个条件,如果,显示我应该插入“”修复它如此werid –