Guest User

Untitled

a guest
Apr 21st, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. gzPost.updateFirebase(completionHandler: { result, ref in
  2. if result == true {
  3. print("Succeeded, and got ref back : \(ref)")
  4. self.dismiss(animated: true, completion: nil)
  5. } else {
  6. self.simpleAlert(title: NSLocalizedString("AlertNetworkFailTitle", comment: ""), message: NSLocalizedString("AlertNetworkFailMessage", comment: ""))
  7. }
  8. })
Add Comment
Please, Sign In to add comment