. -, -updateFpsDisplay 0 99, . , . , 0,01 100 , . , , , . - i (, ), , .
- (void)updateFpsDisplay {
[timecodeFrameLabel setText:[NSString stringWithFormat:@"0%d", frameCount%24]];
}
, 100 24. 99% 24 == 3, "3". , , -updateFpsDisplay, frameCount reset , 0, :
if (frameCount % 24 == 0) {
frameCount = 0;
}
frameCount , , - .