hi,
i have a dictionary of array:
array3 = [[NSDictionary dictionaryWithContentsOfFile:docpath2] retain];
no problem here. now i have an NSString *temp which contains some numbers. i would like to check whether this number exist in the dictionary, not each array.
if([array3 valueForKey:temp])
is this right? doesn't the if loop execute if its true?
<dict>
<key>123456</key>
<array>
<string>low</string>
<string>High</string>
</array>
<key>78910</key>
<array>
<string>low</string>
<string>High</string>
</array>
</dict>
for example temp = 78910, i would like it to be found.
thks in adv