Timer General

In the .h file: NSTimer *showInfoBoxAfterDelayTimer1; In the .m file: myTimer1 = [NSTimer scheduledTimerWithTimeInterval:1.5 //seconds (use decimal places if requried) target:self selector:@selector(someMethodName) userInfo:nil repeats:NO]; //NO = fire only once //[myTimer1 fire]; //< Use this to trigger it immediately – (void)someMethodName { To Stop A Timer //You can use this, but if you do it to […]

Read More