我想在代理上设置一个NSTimer - 我对Objective-C非常陌生,所以如果这不太好理解,请见谅。但是我写的代码如下:
animationTimer = [NSTimer scheduledTimerWithTimeInterval:(NSTimeInterval)((1.0 / 60.0) * animationFrameInterval) target:self.delegate selector:@selector(drawView) userInfo:nil repeats:TRUE];
很不幸,这并不起作用。有人能指点我正确的方向吗?我的大脑已经烧坏了!!