SHARE
TWEET

Untitled

a guest Jun 16th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Client.shared.create(user: User(name: "ab", id: "ababab")) {
  2.  (result) in
  3.         if let user = try? result.get() {
  4.             print("user got created...")
  5.  
  6.         } else if let er = result.error {
  7.             print("got error in creating user: (er.localizedDescription)")
  8.         }
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top