Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the speed of filling animation (Progress) be modified? #2

Open
HadiYaac opened this issue Jan 24, 2019 · 1 comment
Open

Can the speed of filling animation (Progress) be modified? #2

HadiYaac opened this issue Jan 24, 2019 · 1 comment

Comments

@HadiYaac
Copy link

If I want to speed up or slow down the speed of the filling progress animation, is that doable? If yes please help

@yashthaker7
Copy link
Owner

yashthaker7 commented Jan 30, 2019

In my example scenario, you can decrease progress value,
counter += 0.007
progressBar.progress = counter

Or you can increase timer interval,
Timer.scheduledTimer(timeInterval: 0.3, target: self, selector: #selector(ticker), userInfo: nil, repeats: true)

It's all about where and for what are you using it. like something for downloading or something for process.
give me some more detail and i'll give you a proper ans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants