HI everybody i have an issue and couldn't able to solve it .so,any help from u guys would be really helpfull.issue is
i am having a Mutabledictionary in the format of
Bank
id 2
kd 4
gd 5
gang
id 4
kd 8
gd 1
like this and another dictionary in the format of
Bank gd
gang kd
like that i need to comare this dictionary with the above one and retrieve their corresponding values .i have tried this code but it is giving error
error is NSUnknownKeyException', reason: valueForUndefinedKey this class is not key value coding-compliant for the key kd.
i am having a Mutabledictionary in the format of
Bank
id 2
kd 4
gd 5
gang
id 4
kd 8
gd 1
like this and another dictionary in the format of
Bank gd
gang kd
like that i need to comare this dictionary with the above one and retrieve their corresponding values .i have tried this code but it is giving error
Code:
int count = [mFavoritesArray count];
for (NSMutableDictionary *dd in mTest) {
for (int i=0; i < count; i++) {
NSMutableDictionary *tmp = [dd valueForKey:[mFavoritesArray objectAtIndex:i]];
Last edited by a moderator: