Esqarrouth / EZLoadingActivity

:hatching_chick: Lightweight Swift loading activity for iOS7+
MIT License
608 stars 82 forks source link

What is the correct way to change the text while the loading activity is presented? #46

Closed Sweeper777 closed 6 years ago

Sweeper777 commented 6 years ago

I want to show the user the progress of the time-consuming task that I'm performing. Let's say I want to first show "Performing Task 1 of 10". After the first task is completed, I want to change the text to say "Performing Task 2 of 10" and so on. And after performing all tasks, I want to hide it.

Do I just simply call show with different text multiple times?

Esqarrouth commented 6 years ago

Right now that seems to be the only way.

You could also edit the Settings parts a little so the library allows you to put a new text while its showing