Created
August 6, 2013 11:14
-
-
Save bonty/6163631 to your computer and use it in GitHub Desktop.
NSArrayの中から指定した要素のNSDictionaryを取得する
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
// name = 'hoge' の index を取得 | |
NSUInteger idx = [[array valueForKey:@"name"] indexOfObject:@"hoge"]; | |
NSDictionary *dic = [array objectAtIndex:idx]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment