Re: How to use NSTimer correctly?
Re: How to use NSTimer correctly?
- Subject: Re: How to use NSTimer correctly?
- From: Scott Ribe <email@hidden>
- Date: Sat, 25 Jul 2009 07:56:20 -0600
- Thread-topic: How to use NSTimer correctly?
> If so, then where should I "dealloc" everything, I created in the
> awakeFromNib? I believed that dealloc will be called when my
> AppController will be released. But you say it is never released. Then
> what should I do?
In dealloc, as you do now. But you need to arrange for dealloc to be called,
by making sure nothing (the timer) still retains you.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden