On Sep 11, 2013, at 6:37 AM, Jean-Daniel Dupas <devli...@shadowlab.org> wrote: >>> and that while in most code those would be lost in the noise, in some cases >>> people would need to help ARC out with things like __unsafe_unretained. >> >> Hmm…I always thought that __unsafe_unretained was for instance variables, >> but given what you just wrote, I guess it could be used for normal automatic >> variables to opt them out of ARC? >> > > Yes. it works to disable ARC for arguments and other local variables.
And you can put __unsafe_unretained objects in struct declarations, if you feel you must, and ARC won't complain. --Andy _______________________________________________ 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