Should IBOutlet be weak or strong var? [duplicate]
问题 This question already has answers here : Should IBOutlets be strong or weak under ARC? (11 answers) Closed 3 years ago . I'm using Xcode 6.2 for iOS projects. In older versions of Xcode, when a connection was create for an IBOutlet, it was always weak storage. Now when I create connections, they are defaulted to strong. I leave it that way and don't notice any difference. Which version of Xcode did the default change to strong and why? 回答1: Yes, previously outlets should generally be weak but