Skip to content

Instantly share code, notes, and snippets.

@tonyarnold
Created February 21, 2014 02:57
Show Gist options
  • Save tonyarnold/9127976 to your computer and use it in GitHub Desktop.
Save tonyarnold/9127976 to your computer and use it in GitHub Desktop.
// Refresh user details on initial creation of client
[[fetchedClient fetchCurrentUser] subscribeNext:^(ANKUser *user) {
@strongify(self);
// Do something with context such as save here…
} error:^(NSError *error) {
NSLogError(error);
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment