Group Group Group Group Group Group Group Group Group

View update during a loop

How can I use a very simple progress indicator on my macOS view for displaying 0% - 100% when something happen. It looks like the view is never updated during a loop. So I always see just 100%.

I tried also with a Timer, but nothing happen.

Is there any very simple example to demonstrate how to use the progress indicator or even just a label updating on a view during a loop.

Thanks for any help.

Hi pahe,
not fun when things don’t work, do they? I am sure that you know your way with Swift and writing code, however if you do share some snippets of what you are trying to do, someone could help you fix the issue in your code. Alternatively, you can also look up some code to use a progress indicator in a MacOS application on Google.

Cheers,

Jayant

This topic was automatically closed after 166 days. New replies are no longer allowed.