Comments (3)
Hi @bwu1, there are separate properties for each of the arcs. Try using both borderPercentageForFilledArc and borderPercentageforUnfilledArc separately, NOT borderPercentage. It should do the trick.
Let me know if that doesn't work.
from ios-circular-progress-bar.
Hi,
Thanks for the fast response. It looks like I was looking at the wrong property. The property names are somewhat confusing. The correct property to use in my case was "linePercentage" not "borderPercentage". Maybe you can make the distinction clear in the documentation.
Also, another problem I encountered a while back is that your code leaks A LOT, especially when continuously updating the percentage. I was able to fix it, but I don't remember exactly how I did it. I think it might have been in "Mcslice"'s customDrawInContext method and not manually release CG properties, but again I don't remember exactly.
Run the code in Leaks instrument and you should be able to see it.
Otherwise, this project is very helpful
from ios-circular-progress-bar.
Thanks for the feedback! I'll do some refactor on this as soon as I can.
from ios-circular-progress-bar.
Related Issues (12)
- Potential Leak warnings in xcode 6.3 HOT 2
- Can you remake it using swift? HOT 2
- Once added to the subview the progress bar waits before being added.
- can do you set an image in the circle?
- issue with universal storyboard
- Breaking Out of Progress Bar Thread
- Can we have three segments in the arc with different colors.
- The percentage fills its self 100% up once you leave the View Controller and go back. How come it doesnt stay?
- Not able to add Swipe gesture
- Gradient fills the Track with gradientColor1
- How to Start progress from 270 degree ?
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 ios-circular-progress-bar.