Performance and NSTimee
Performance and NSTimee
- Subject: Performance and NSTimee
- From: Taxxodium <email@hidden>
- Date: Fri, 8 Feb 2002 17:56:12 +0100
Hello,
I have written an app that needs to refresh itself every second. But the
problem is that it uses 10% or more from the processor. How can I make
sure my app uses less processing time and still keeps updating itself
every second?
This is how my code looks like:
timer = [NSTimer scheduledTimerWithTimeInterval:1 target:self
selector:@selector(refresh:) userInfo:0 repeats:YES];
Thanks,
Jesus
______________________________
Jesus De Meyer
CEO @ E dot software
http://homepage.mac.com/edotsoftware
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.