Firing an NSTimer by hand
Firing an NSTimer by hand
- Subject: Firing an NSTimer by hand
- From: Serge Meynard <email@hidden>
- Date: Sat, 02 Feb 2002 17:16:55 -0500
I have an NSTimer set up to automatically remove my splash screen window
after a certain time, but I also want to remove it immediately when the user
clicks on it. When I get a mouseDown in the window, I call [timer fire],
which should do the job, but nothing happens. The timer just keeps going
until it fires at the end of the interval, and then my window goes away.
Yes, the mouseDown gets called, and no, the timer isn't nil in the
mouseDown...
Is there something I'm doing wrong?