1.苹果官方说明: From a practical perspective, in iOS and OS X outlets should be defined as declared properties. Outlets should generally be weak, except for those from File’s Owner to top-level objects in a nib file (or, in iOS, a storyboard scene) which s…
原文来自这里. 今天用Xcode5的时候,发现默认的IBoutlet的属性设置为weak——因为Xcode5建立的工程都是ARC的了.但是当时还有点不明白,因为项目的原因,一直没有正式使用过ARC.于是,为了搞清楚为什么,google了一下,有很多答案.试着从Apple文档寻找线索,在这里找到了说明: From a practical perspective, in iOS and OS X outlets should be defined as declared properties. Ou…