Re: NSTimer problem with event run loop
Re: NSTimer problem with event run loop
- Subject: Re: NSTimer problem with event run loop
- From: Matt Reagan <email@hidden>
- Date: Tue, 6 Dec 2005 14:28:25 -0800
Right after you asked that I took another look at the init code, and
within 10 minutes I slapped myself: the timer was being created inside
of a FOR loop that was running in the init method, basically creating
60 timers instead of one. I moved one closing bracket in the code and
it's fine now. :\ Sorry I didn't notice that before, it's always the
most obvious stuff that escapes my attention.
If you want something to be invisible, paint it red.
Thanks,
-Matt
On 12/6/05, Shawn Erickson <email@hidden> wrote:
>
On 12/6/05, Matt Reagan <email@hidden> wrote:
>
>
> I'm having problems with an NSTimer that triggers a refresh for a
>
> custom NSView.
>
>
How often is this timer firing? How are you creating it?
>
>
-Shawn
>
_______________________________________________
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