- (void)start{
NSTimer *mtimer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(scheduleSomeNSTimer:) userInfo:nil repeats:YES];
}
- (void)scheduleSomeNSTimer:(NSTimer *)timer{
NSTimer *newtimer = [NSTimer scheduledTimerWithTimeInterval:60.0 target:self selector:@selector(showAction:) userInfo:nil repeats:NO];
}
- (void)showAction:(NSTimer *)timer{
NSLog(@"action show!");
}
если я хочу аннулировать один из ntimer, которые планируют по функции - (void)addSomeNSTimer:(NSTimer *)timer
приложение будет создавать новый таймер повторно, поэтому, когда мне нужно аннулировать один из этих новых таймеров, как я могу найти нужный мне объект
например: приложение создает 4 nstimers и запускается в цикле, как я могу найти один из них и аннулировать