📜  nstimer 示例目标 c - Objective-C 代码示例

📅  最后修改于: 2022-03-11 15:04:44.830000             🧑  作者: Mango

代码示例1
[NSTimer scheduledTimerWithTimeInterval:5.0f target:self selector:@selector(methodToRun:) userInfo:nil repeats:YES];

- (void) methodToRun:(NSTimer*)t {
  // Code here
}