本帖最后由 shenlongzs 于 2014-4-4 22:33 编辑
NSMutableArray * arr = [NSMutableArray arrayWithCapacity:0];
NSDictionary * dic = [[NSDictionary alloc]init];
[arr addObject:dic];
dic = [[NSDictionary alloc]init];
[arr addObject:dic];
dic = [[NSDictionary alloc]init];
[arr addObject:dic];
[dic release];
[dic release];
[dic release];
哪位知道以上代码错在哪,请给与解惑?
|