Reputation: 7219
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.
Upvotes: 0
Views: 663
Reputation: 57149
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.
Upvotes: 1