我有以下方法
-(void) showDie: (int) num;{
// do something
}
我想以 0.5 秒的时间间隔调用该方法。到目前为止,我有以下
SEL runShowDie;
[runShowDie performSelector:@selector(showDie:) withObject:rand];
[NSTimer scheduledTimerWithTimeInterval:.5 target:self selector:runShowDie userInfo:nil repeats:NO];
我究竟做错了什么?