Skip to content

Instantly share code, notes, and snippets.

@Kevinwlee
Created March 27, 2014 18:39
Show Gist options
  • Save Kevinwlee/9814921 to your computer and use it in GitHub Desktop.
Save Kevinwlee/9814921 to your computer and use it in GitHub Desktop.
NSString *containerName = @"paintings";
NSDictionary *item = @{@"name":self.nameTextField.text};
[[CCHVaultService sharedService] createItem:item inContainer:containerName 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