Posted By

rabc on 02/26/11


Tagged

timer NSTimer schedule


Versions (?)

Timer


 / Published in: Objective C
 

Schedule a timer

  1. NSTimer *timerTest = [NSTimer timerWithTimeInterval:0.1 target:self selector:@selector(dummyMethod:) userInfo:nil repeats:NO];
  2. [[NSRunLoop currentRunLoop] addTimer:timerTest forMode:NSDefaultRunLoopMode];

Report this snippet  

You need to login to post a comment.