[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] CocoaDialog works, sched doesn't

NSDefaultRunLoopMode must already be working(?) because otherwise the timer would not have been firing at all. NSEventTrackingRunLoopMode should probably be added.

On Monday, January 13, 2003, at 05:19 PM, cramakrishnan@xxxxxxx wrote:

I would have thought you would also need:

 	[[NSRunLoop currentRunLoop] addTimer: appClockTimer
		forMode: NSDefaultRunLoopMode];
 	[[NSRunLoop currentRunLoop] addTimer: appClockTimer
		forMode: NSEventTrackingRunLoopMode];

Is there a reason you don't have these?

--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.