IMZRH的日志

努力成为一个有用的人

导航

2012年3月15日

摘要: 今天在练习Learning Objective-c on Mac上的代码时输入了以下的代码,NSAutoreleasePool *pool;pool = [[NSAutoreleasePool alloc] init]; //omitted [pool drain];return 0;程序报错为"NSAutoreleasePool is unavailable: not available in automatic reference counting mode".经过搜索得知Learning Objective-c on Mac使用的是比例老Xcode版本,而在Xcode 阅读全文

posted @ 2012-03-15 10:03 张荣华 阅读(5094) 评论(0) 推荐(1) 编辑