Re: NSTimer +timerWithTimeInterval:
Re: NSTimer +timerWithTimeInterval:
- Subject: Re: NSTimer +timerWithTimeInterval:
- From: Dave via Cocoa-dev <email@hidden>
- Date: Mon, 4 May 2020 11:06:11 +0200
Hi,
I’d try this:
Make a method called setupTimer with the code below.
Then in applicationDidFinishLaunching call performSelector: setupTimer with a
delay of (say 5 seconds).
Just to see if it changes anything….
Cheers
Dave
> On 29 Apr 2020, at 23:35, Carl Hoefs via Cocoa-dev
> <email@hidden> wrote:
>
> There are no extensions or categories in the project.
> I changed the -newData: method name to -arrivalOfNewData:.
> I changed the newTimer variable name to theTimer.
> I rebooted the machine.
>
> No joy.
>
> I realize this is no longer a Cocoa problem, but what - even theoretically -
> could cause this?
> As shown in the debugger, the timer gets created with the wrong time interval
> value, by a consistent factor of 20.
>
> -Carl
>
_______________________________________________
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