The following only executes once. Why is it, when repeat is set to YES?
NSTimer *timer = [NSTimer timerWithTimeInterval:1/3 target:self
selector:@selector(updateThingsRepeatedly:) userInfo:nil repeats:YES];
[timer fire];
If i understand things right, updateThingsRepeatedly method should be called every 1/3 of a second repeatedly. Is this not correct?
It does call the method once, however, but does not start a loop, as i would expect.
Use
-scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:, and do not call-fire.And use floating point numbers for your time interval. I.e., 1.0/3.0.