Code:
-(void) applicationDidFinishLaunching : (UIApplication *) application {
timer = [NSTimer scheduledTimerWithTimeInterval: 1.0 target:self selector:@selector(flipToSecond:) userInfo:nil repeats: NO]; // change YES to NO
}
//define the targetmethod
- (void) flipToSecond: (NSTimer *) timer {
NSLog(@"flipToSecond was successful!");
}
Last line in console is:
Pending breakpoint 1 - "objc_exception_throw" resolved
(gdb)
Can't seem to figure it out. Help Please.