Your reference is weak, old man… oh, wait, that’s kung-fu…. um….
Seriously - I always make my references strong unless I have a good reason not to (avoiding retain cycles is one such good reason). Weak references, while nice for what they do, do have some overhead and other drawbacks (like the lack of KVO compliance Gerd Knops mentioned). > On Dec 6, 2015, at 7:15 AM, Dave <d...@looktowindward.com> wrote: > > >> On 5 Dec 2015, at 17:31, Alex Zavatone <z...@mac.com> wrote: >> >> Weak. >> >> There is only one reference to it, right? >> > > It seems that the actual answer is “it depends”……. But making them strong > unless you specifically need to do otherwise seems like the best practise > approach….. > > Dave > > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/bdurbrow%40rattlesnakehillsoftworks.com > > This email sent to bdurb...@rattlesnakehillsoftworks.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com