摘要: 最近将代码转换成ARC内存管理方式,用Edit菜单中的Refactor可以完成自动转换,还是非常方便,但马上编译后会给出警告。assigning retained object to unsafe property, object will be released after assignment.错误出现在对window和navController上。@interfaceMyViewerAppDelegate : UIResponder <UIApplicationDelegate>@property ( nonatomic) UIWindow *window;//主窗口上要出现 阅读全文
posted @ 2012-06-20 15:27 申龙斌的程序人生 阅读(2165) 评论(4) 推荐(0)
摘要: 关于iPhone开发中ARC内存使用技术的详细介绍博主:易飞扬原文链接:http://www.yifeiyang.net/development-of-the-iphone-simply-1/iPhone开发之深入浅出 (1) --- ARC是什么iPhone开发之深入浅出 (2) --- ARC之@property使用iPhone开发之深入浅出 (3) --- ARC之前世今生iPhone开发之深入浅出 (4) --- ARC之循环参照iPhone开发之深入浅出 (5) --- ARC之Outlet与弱引用iPhone开发之深入浅出 (6) --- ARC之对象转型iPhone开发之深入浅出 阅读全文
posted @ 2012-06-20 14:54 申龙斌的程序人生 阅读(215) 评论(0) 推荐(0)