views:

28

answers:

1

Hi
Can anyone tell me if its possible to change the interval of an NSTimer while its firing?

Seems like this should be possible but haven't figured out how...

Basically I'm trying to create a 'deceleration' effect.

+1  A: 

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.

Noah Witherspoon