Trouble with NSTimer
Trouble with NSTimer
- Subject: Trouble with NSTimer
- From: Cyril Godefroy <email@hidden>
- Date: Sat, 16 Jun 2001 13:05:10 +0200
Hi,
I have a timer checking for the current time and comparing it with some
set values.. When I want to change the set values in a window, I first
need to invalidate the timer, otherwise the window gets deallocated. So
I use invalidate. When I close the window, I try to add a new NSTimer
(because the other one is no more valid and there's no 'validate'
method) And this dies on me.
Any ideas?