hello guys
I have the following code in my project which i use to copy an array to NSArray. the content come from a server using JSON.
this works fine and I was able to check that subStreams have some values. but when ever I try to access this values I get the following runtime error.
any suggestion will be appreciated.
I have the following code in my project which i use to copy an array to NSArray. the content come from a server using JSON.
Code:
test.subStreams = (NSArray *)[[[feed1 valueForKey:@"product"] valueForKey:@"menu"] valueForKey:@"subMenu"];
this works fine and I was able to check that subStreams have some values. but when ever I try to access this values I get the following runtime error.
Code:
-[NSNull isEqualToString:]: unrecognized selector sent to instance 0xa05e5020
any suggestion will be appreciated.
Last edited by a moderator: