问候!!NSTimer选择器问题
我已经例如以下功能:
-(void) doMainBrick
{
NSTimer * timer = [NSTimer scheduledTimerWithTimeInterval:0.1
target:self
selector:@selector(dropBrick:)
userInfo:nil
repeats:YES];
}
-(void) dropBrick:(NSTimer*) timex
{
//deal something
[self SwitchBrick];
}
我不知道是否有可能,如果dropBrick
功能做多scheduledTimerWithTimeInterval
(我上面的样本中,它是0.1), 另一个呼叫dropBrick
发生再次(每0.1秒火力下降,重复:是)? 还是不管,NSTimer
会等到最后dropBrick结束然后解雇?