I’m a beginner in this field and I’m facing this problem which says :[NSMutableArray objectAtIndex:]:Index 4 beyond bounds [0 .. 3]. Can’t seem to find out error for this. Can any body help me in this regard? I’m attaching the code snippet for this…
NSMutableArray *my_arrUserinfo = [UserresponcePerser userdesc];
NSString *encryptAlgo=@"";
encryptAlgo = [encryptAlgo stringByAppendingString:[[my_arrUserinfo objectAtIndex:9]objectAtIndex:4]];
the UserresponcePerser is a perser which perses data elements from web service and stores it in the array.
The error message means your
[my_arrUserinfo objectAtIndex:9]only has 3 items, but you try to visit the 4th object.