Can anyone tell me if it's possible to change the interval of an NSTimer
while it's firing?
Seems like this should be possible but haven't figured out how.
Basically, I'm trying to create a deceleration effect.
Can anyone tell me if it's possible to change the interval of an NSTimer
while it's firing?
Seems like this should be possible but haven't figured out how.
Basically, I'm trying to create a deceleration effect.
Changing the timer's interval probably isn't the right way to implement a “deceleration” effect—it's better to have the timer updating at the same rate, and change whatever value it's influencing by a little less on each iteration.