On Sun, Dec 14, 2008 at 2:52 PM, Jens Bauer <jensba...@christian.net> wrote:
> You probably experience your crash, because the timer is autoreleased. If
> you retain it, it'll live. However, you'll have to remember the timer
> object, so you can stop it later, so add NSTimer *timer; as a member
> variable of your class...

Take a look at the stack trace again.  It's happening within the call
to +[NSTimer scheduledTimerWithInterval:target:selector:userInfo:repeats:].
 The problem can't be that he hasn't retained a timer he hasn't
created yet.

--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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to