摘要: XCode中引入了静态分析器,用于发现普通编译错误以外的错误选择Build->Build and Analyze请看下面这段代码#import<Foundation/FOundation.h>intmain(intagrc,constchar*argv[]){NSAutoreleasePool*pool=[[NSAutoreleasePoolalloc]init];NSDate*date=[[NSDatealloc]init];NSLog(@"Thetimeis:%@",date);[pooldrain];return0;}上面这段代码中, date对象在 阅读全文
posted @ 2012-05-22 09:55 Master HaKu 阅读(1613) 评论(0) 推荐(1) 编辑