美文网首页
iOS开发中的strong,weak和copy

iOS开发中的strong,weak和copy

作者: rgcyc | 来源:发表于2016-06-11 16:01 被阅读70次

苹果在iOS6中引入ARC,简化内存管理,开发人员不需要手动管理对象的生命周期,即没有retain/release操作。

但在使用ARC过程中,仍然需要对strong, weak和copy使用场景和注意事项有所了解,这里记录下。

相关文章

网友评论

      本文标题:iOS开发中的strong,weak和copy

      本文链接:https://www.haomeiwen.com/subject/skuiqttx.html