mineschan/MZTimerLabel — pull request #18 by genalipsis (2014-11-10 12:45:43+00:00)
Title: Add Time To Count Down Timer

As Implemented:
-(void)addTimeCountedByTime:(NSTimeInterval)timeToAdd
{
startCountDate = [startCountDate dateByAddingTimeInterval:-timeToAdd];
[self updateLabel];
}

This method changes the start date, triggering a call to the delegate
method:
-(void)timerLabel:(MZTimerLabel*)timerLabel
finshedCountDownTimerWithTime:(NSTimeInterval)countTime;

when it is not the case. An Implementation that does add time to the
counted time without triggering a call to the delegate is:

-(void)addTimeCountedByTime:(NSTimeInterval)timeToAdd
{
[self setCountDownTime:timeToAdd + timeUserValue];
[self updateLabel];
}

Why the change was needed?
To avoid calls to -(void)timerLabel:(MZTimerLabel*)timerLabel
finshedCountDownTimerWithTime:(NSTimeInterval)countTime;

when the timer was actually not done.