Created
May 25, 2013 05:11
-
-
Save evernotegists/5647979 to your computer and use it in GitHub Desktop.
Get shard id
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
- (void)getUserShardId { | |
//Get the User from userStore and return the user's shard ID | |
[[EvernoteUserStore userStore] getUserWithSuccess:^(EDAMUser *user) { | |
NSString* shardId = user.shardId; | |
NSLog(@"Shard id : %@",shardId); | |
} failure:^(NSError *error) { | |
NSLog(@"Error : %@",error); | |
}]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment