Hello I wanted to run a NSTimer on the main thread im not sure if they are run on the main thread by default or I have to do a special implementation ? thanks to anyone who could help
@interface RootViewController : UIViewController {
NSTimer *minutePassed;
}
- (void)adViewDidLoad
{
minutePassed = [NSTimer scheduledTimerWithTimeInterval:60.0 target:self selector:@selector(callMinutedPassed) userInfo:nil repeats:NO];
}
-(void)callMinutePassed
{
NSLog("Minute Passed");
}