views:

76

answers:

2

warning: 'NSArray' may not respond to '-objectForKey:'

PicsCount = [[[results objectForKey:@"wallper"] objectForKey:@"total"] intValue];
+4  A: 

NSArray does not have an objectForKey method. NSDictionary does.

Jacob Relkin
thanks for your answer Rob Lourens
RAGOpoR
someone copy/pasted their comment... made me laugh at this hour
elcool
+4  A: 

NSArray has no method 'objectForKey'. You may want an NSDictionary.

Rob Lourens
thanks for your answer Rob Lourens
RAGOpoR

related questions