Created
July 14, 2014 15:53
-
-
Save Kevinwlee/c0e27e88dbd8bdeb135d to your computer and use it in GitHub Desktop.
Get items that contain a key path
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
[[CCHVault sharedInstance] getItemsWithTags:@[@"sample-tag"] keyPath:@"employee.first_name" value:nil completionHandler:^(NSArray *responses, NSError *error) { | |
if (error) { | |
//handle errors | |
} else { | |
//the responses will contain all vault items that have the key path employe.first_name | |
} | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment