Given a block instance var named fun:

fun = ^void () {[self ...];};

Results in the warning:

"Capturing 'self' strongly in this block is likely to lead to a retain cycle"

But I know that it does not result in a retain cycle, because I nil out fun at 
the appropriate time. So how to get rid of the warning?

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice






_______________________________________________

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

Reply via email to