Invalidating a nstimer Freesexchat cam4
When a timer is created, it can either be prescheduled in the current run loop, or you can create it and schedule it yourself.
Let me know in comment if you have any question regarding NSTimer Class.
The invalidation of the timer during deallocation (check back to the original example) ensures that the timer will no longer run again.
Using a Retain cycles are easy to introduce through the use of repeating timers and do so if the target of a timer retains the timer.
You may use one to fire every 5 seconds to handle polling of a resource, for example.
Timers are associated with a run loop, and the run loop handles when it should fire.
So the only way it is broken is if will be called unless you control all the code that uses this class.