On Jan 12, 2013, at 10:49 AM, Gordon Apple <g...@ed4u.com> wrote:

> When compiled under ARC, NSTimer should have a weak, not strong, reference
> to its target.  When the timer starts to fire, check the reference for nil
> and invalidate itself.  Come on guys, how hard is that?  You wouldnÂąt even
> have to keep a reference to it, unless you want to invalidate it before the
> target deallocates.

You should already be invalidating it before the target deallocates…

--Kyle Sluder
_______________________________________________

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