摘要: a.ARC中不要retain,release,autorelease,dealloc method.创建自动释放池@ autoreleasepool{}。其本质为:本该你去release某个对象的代码,交由编译器去写。b.__weak __strong指明重写修饰对象的getter和setter方法.c.ARC对Core Foundation对象不做处理,想将其与ARC结合,用CFBridgingRetain、CFBridgingRelease、__bridge(transfers a pointer between Objective-C and Core Foundation with n 阅读全文
posted @ 2012-12-07 17:14 阳芳 阅读(915) 评论(0) 推荐(0)