NSTimer bug?

In my iPhone programming I’ve been trying to use NSTimer’s scheduledTimerWithTimeInterval:target:selector:userInfo:repeats method.  I’ve enventually figured out that calling it with a nil value for userInfo gets and “bad access” error in the debugger when the timer pops.  It’s documented to accept a nil value, but only seems to work with a non-nil value.

So pass something there, even if you don’t need it

Leave a Reply