NSTimer or what?
NSTimer or what?
- Subject: NSTimer or what?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 20 Jun 2017 10:04:55 +0700
macOS 11+
Some Cocoa app which has to do:
1. something a few seconds later
2. some other thing repeatedly about every 0.1 second.
What is the most efficient (energy-wise) way to do this:
NSTimer (with tolerance)
NSRunLoop performSelector:target:argument:order:modes:
NSObject performSelector:withObject:afterDelay:
GCD dispatch_after
something else.
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden