JAVA
ParseUser.logInInBackground("johndoe", "p@ssw0rd", new LogInCallback() {
public void done(ParseUser user, ParseException e) {
if (user != null) {
// User has logged in successfully.
} else {
// Error! Access the "e" variable to find out what.
}
}
});
(user: PFUser?, error: NSError?) -> Void in
if user != nil {
// Do stuff after successful login.
} else {
// The login failed. Check "error" variable to see why.
}
}
SWIFT
PFUser.logInWithUsernameInBackground("johndoe", password:"p@ssw0rd") {(user: PFUser?, error: NSError?) -> Void in
if user != nil {
// Do stuff after successful login.
} else {
// The login failed. Check "error" variable to see why.
}
}
Good article -Please check this link
ReplyDeleteMynews8
best wall mount fans
best outdoor wall mount fans
best wall mount fans 2019
Great idea-Please check this link
Mynews8
best fidget spinner in the world
best fidget spinner
best fidget spinner2019
best fidget spinner brand