摘要:
NSDictionary *theDict1 = [NSMutableDictionary dictionaryWithObjectsAndKeys:[NSMutableArray array], @"Data", NSLocalizedString(@"string1", @""), @"Name", nil]; NSDictionary *theDict2 = [NSMutableDictionary dictionaryWithObjectsAndKeys:[NSMutableArray array], @& 阅读全文
posted @ 2011-03-08 11:24
fairycao
阅读(248)
评论(0)
推荐(0)
摘要:
设置NSDebugEnabled和NSZombieEnabled参数:在Executables下,右击工程,get info, 选择Arguments即可添加,设置NSDebugEnabled和NSZombieEnabled的value为YES,则在debug下就可以跟踪了。(如果你设置了NSZombiEnabled环境变量,当销毁一个对象时,objective的运行时环境会在这个对象后边设置一个dummy,当调用这个对象的方法时,程序会终止,并在堆栈上显示错误信息) 阅读全文
posted @ 2011-03-08 09:11
fairycao
阅读(212)
评论(0)
推荐(0)
浙公网安备 33010602011771号