Re: Singleton and NSTimer
Re: Singleton and NSTimer
- Subject: Re: Singleton and NSTimer
- From: Dave Hersey <email@hidden>
- Date: Wed, 06 Jul 2005 18:03:38 -0400
On 7/6/05 5:59 PM, "Brad Peterson" <email@hidden> wrote:
> Hi all,
>
> I have a singleton object which, in its init method,
> creates a timer:
>
> [ NSTimer timerWithTimeInterval: 4 target: self
> selector: @selector(timedPurge) userInfo: nil repeats:
> YES ];
>
> While I can tell that the timer is created, it never
> seems to fire.
Try @selector(timedPurge:)
(note the colon)
- dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden