我在这一行得到一个SIGABRT
NSArray *array = [dict allValues];
我通过在之前放置一个NSLog来检查我的字典,它看起来没问题
NSLog(@"dict value : %@",dict);
输出:
( { “category_id”= 1; content =( { copyright = copyright; description =“”; endDate =“18-12-2011”; .....
2011-08-05 16:02:44.576 xxx[7578:b603] -[__NSArrayM allValues]: unrecognized selector sent to instance 0x4e36a10
2011-08-05 16:02:44.578 xxxx[7578:b603] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM allValues]: unrecognized selector sent to instance 0x4e36a10'
有什么想法吗?