Comments (3)
Hello @enricsa
In setProgressCounter
I call setNeedsDisplay
but only after executing the labelBlock
. If you are performing a time expensive operation in labelBlock
that might slow down the redrawing. The second thing that might go wrong, but to be honest I'm not sure about it, is the call UIAccessibilityPostNotification
. I don't think it's supposed to be called every millisecond, so maybe you could comment it temporarily and see if the delay disappear.
from mdradialprogress.
Hello @mdinacci,
I've tried commenting the notifications but the delay is the same. As you can see on the example, i'm trying to do a countdown without expensive operation. Only substract the radial progress every milisecond.
from mdradialprogress.
Hello @enricsa,
redrawing every milliseconds is too expensive and in any case the human eye can't keep up so there's no benefit in doing it so often. Try to update the counter around 25 times per second. If you still experience a delay then it simply means that the rendering code is too slow. MDRadialProgress wasn't built with this kind of use case in mind.
from mdradialprogress.
Related Issues (20)
- Update with uislider HOT 4
- Eclipse effect issue. Center need to be drawn with radius minus 1 px HOT 3
- Incorrect constructor : awakeFromNib HOT 2
- Incompleted arc not drawn HOT 4
- Purpose of MDRadialProgressTheme themeWithName:+ constructor ? HOT 2
- Label / Progress theme sharing
- value from 0.1 to 0.9 HOT 1
- Unable to animate centerColor HOT 1
- Show percentage symbol? HOT 4
- Can't import MDRadialProgress HOT 3
- Make sure MDRadialProgress work with Auto Layout HOT 1
- hi,ios5.x support? HOT 1
- Crash on iphone 6 plus. HOT 2
- Feature Request: Animate Filling HOT 3
- on table refresh from Modal progress chart view draws x, y wrong
- New feature demand HOT 1
- Can not be very easy to control whether to display the percent sign
- About progress animation
- want richtext support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdradialprogress.