사전에 하나의 항목 만있는 사전 배열이 있습니다.하나의 엔트리에 대한 NSDictionary acess
___ ___________
|___| --->|__|__|__|__| Array of Dictionary
|___| __|__
|___| |K|V| Dictionary
|___|
Array of Array
My dictionary content is <NSString*, UIImage*>
내 사전 값을 검색하는 방법.
코드 조각 :
for (int i=0 ; i< [imagesToFill count]; i++) {
NSDictionary* dict = [imagesToFill objectAtIndex:i];
UIImage* img = ??? [dict] // How to retrive value from above dict which has only 1 entry
NSString* imgPath = ???
}
Note: Each dict has <NSString*, UIImage*>