yannickl/YLProgressBar

Getting error when iam trying to import YLprogress bar in my code.

Closed this issue · 10 comments

Hi i ran the sample code and its working fine, but when i imported the YLProgressBar to my project iam getting an error. Do i need to install Cocoa Pods? The error in .h file shows "Funcion definition is not allowed here" . I am using Xcode 6.0.1

Hi that issue was fixed the UIKit.h was not there.

Another question can we change the black background of the progress bar?

Hi,

Sorry for the late. Yes you can change the track color by modifying the trackTintColor property.

Hi Thanks for the reply. Is there an option to stop the animating progress color and keep it without animation? Also when i try to change the trackTintColor to light grey a black line appears on top border of the progress bar. When i tested it in your sample code also it was there. You can see it clearly when the "trackTintColor" is white.

Hi,

you can stop the animation by setting the stripesAnimated property. To remove the grey line you have to disable the gloss effect thanks to the hideGloss property.

Hi,

Thanks for your swift reply. I was able to change both those issues and its working fine. Would like to let you know theres a minor design issue in it. A thin dark line appears above the top corner of the progress bar. Its visible only when we use light colors for the track color property. I have tested it in your sample code as well. Attached a screenshot with this. Please check.

screen shot 2015-01-13 at 12 18 56 pm

Thanks
Subin.

Hi,

Have you tried with the last version (3.5.1)? I have fixed this issue in the last release.

No I havent. Will try

Thanks.

Hi,
Checked the latest code and its fine :)

Great! I close the issue. :)