I am new to swift as well as programming but I am trying to retrieve check if a user can log in and I believe I did what Parse recommends to do to do so however I am receiving this error and am unsure as to why. Here is my code
PFUser.logInWithUsernameInBackground(usernameTextField.text!, password: passwordTextField.text!){
(user: PFUser!, error: NSError) -> Void in
if user != nil {
//Yes User Exists
self.messageLabel.text = "User Exists"
}
else {
//no user doesnt exist
}
}