Skip to content

Instantly share code, notes, and snippets.

@Kevinwlee
Created March 27, 2014 18:54
Show Gist options
  • Save Kevinwlee/9815271 to your computer and use it in GitHub Desktop.
Save Kevinwlee/9815271 to your computer and use it in GitHub Desktop.
NSMutableDictionary *item = [NSMutableDictionary dictionaryWithDictionary:self.item];
[item setObject:self.nameTextField.text forKey:@"name"];
[[CCHVaultService sharedService] updateItem:item completion:^(NSDictionary *carbonResponse, NSError *error) {
if (error) {
NSLog(@"Error %@",error);
} else {
NSLog(@"Success %@", carbonResponse);
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment