[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WO4: Can't get NSTimer to work
Hello,
I can't get NSTimer to work under WebObjects 4.0. I'm starting to get
the feeling it may be a bug.
Here's what I do: I create an NSTimer by doing the following:
aTimer = [[NSTimer
scheduledTimerWithTimeInterval:60.0
target:self
selector:@selector(revUp:)
userInfo:nil repeats:YES
] retain];
This ran fine under WO 3.51. Now, however, the NSTimer never fires. I
query the timeInterval of the NSTimer like this: [aTimer timeInterval],
and it returns zero for the value. Ouch. It should be 60 (as you can
see above).
Thanks for any help,
Ian