I need some help with this:
func checkUserCredentials() -> Bool{
PFUser.logInWithUsername(userName!, password: Contrase?a!)
if (PFUser.currentUser() != nil){
return true
}
return false
}
It says that PFUser.logInWithUsername(userName!, password: Contrase?a!) has problems because its not marked with try ... and the error is not handled.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…