Created
February 1, 2012 21:38
-
-
Save nwg/1719630 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SocializeEntity *entity = [[[SocializeEntity alloc] init] autorelease]; | |
| entity.key = @"myKey"; | |
| entity.name = @"My Name"; | |
| entity.meta = @"some meta data about this entity"; | |
| [socialize createEntity:entity]; | |
| -(void)service:(SocializeService*)service didFail:(NSError*)error{ | |
| NSLog(@"%@", error); | |
| } | |
| //if the delete is successful | |
| -(void)service:(SocializeService*)service didCreate:(id<SocializeObject>)object{ | |
| NSLog(@"entity created"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment