Hi all,
Could someone explain to me how to make an NSTimer and start/stop it?
I've tried:
Code:
timer = [NSTimer timerWithTimeInterval:0.5 target:self selector:@selector(updateCountdown) userInfo:nil repeats:YES];
Code:
if(countdownTime < 1) [timer invalidate];
But it won't enter the method/function "updateCountdown". I'm not sure why the selector isn't working, but could someone please give me some tips?
Riley