Created
March 14, 2013 16:12
-
-
Save mdobson/5162692 to your computer and use it in GitHub Desktop.
Creating a connection between two entities
This file contains 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
// Have fred "like" a dog with an entity connection | |
NSString *username = @"dino"; | |
UGClientResponse *response = [usergridClient connectEntities:@"users" | |
connectorID:@"fred" | |
connectionType:@"likes" | |
connecteeType:@"dogs" | |
connecteeID:username]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment