}
@end
@implementation MyAppDelegate
- (void)applicationDidFinishLaunching:(id)application {
(void)application;
[_timer setDelegate:self];
}
- (void)timerFired:(id)timer {
static int count = 0;
(void)timer;
NXLog(@"Timer fired: %d", ++count);
}
NXLog(@"Application received signal: %d", (int)signal);
[_timer release];
}
@end
int main(int argc, char *argv[]) {
}