Quantcast
Channel: User Sefran - Stack Overflow
Viewing all articles
Browse latest Browse all 36

When should I use the weak or strong qualifier with IBOutlets? [duplicate]

$
0
0

Possible Duplicate:
Should IBOutlets be strong or weak under ARC?

In the documentation, I read"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 should be strong."

Examples? I don't understand when it's better use "weak" instead of "strong" property for an IBOutlet.


Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>