TVOutManager icon indicating copy to clipboard operation
TVOutManager copied to clipboard

CADisplayLink is better

Open marcocattai opened this issue 13 years ago • 0 comments

if (kUseBackgroundThread) { [NSThread detachNewThreadSelector:@selector(updateLoop) toTarget:self withObject:nil]; } else { displayLink = [NSClassFromString(@"CADisplayLink") displayLinkWithTarget:self selector:@selector(updateTVOut)]; [displayLink setFrameInterval:1.0]; [displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; }

marcocattai avatar Mar 03 '11 10:03 marcocattai