On 28 Jul 2017, at 16:57, Mark Allan <markjal...@gmail.com> wrote: > > I'm wondering if anyone has any thoughts about or links to best practices > when using determinate NSProgressIndicators.
[snip] > I'm debating doing it with an NSTimer firing every second, but wondered if > anyone had any other suggestions? I’d advise you to do just that - use an NSTimer. You could fire it faster than once a second, mind; 10Hz is perfectly reasonable, for instance. I’m not sure exactly how often the progress indicator is redrawn by the system (but it’s drawn on a background thread, so if you wanted it’d probably be quite easy to check), but it’s unlikely to be faster than 60Hz (IIRC the macOS will throttle applications that try to do normal drawing - as opposed to OpenGL - faster than that), so it’s probably not worth bothering updating faster than that, *even if* you want it to be as smooth and responsive as possible. Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com