mdinacci / MDRadialProgress

A custom UIView useful to represent progress in discrete steps.
Other
947 stars 159 forks source link

Show percentage symbol? #28

Closed fenlandersoftware closed 10 years ago

fenlandersoftware commented 10 years ago

Is there a way to show the percentage symbol after the number ?

mdinacci commented 10 years ago

Hi Chris,

I'm sorry this is not possible yet. I'll work on it as soon as I have some free time.

On 9 Sep 2014, at 11:13, Chris notifications@github.com wrote:

Is there a way to show the percentage symbol after the number ?

— Reply to this email directly or view it on GitHub.

fenlandersoftware commented 10 years ago

Thanks, i've done a dirty hack for now (as I need it on all radial progress views I have - but look forward to the update.

Great control btw. looks great in the app I just added it to :+1:

iNono22 commented 9 years ago

Still no percentage symbol? :(

chrisfoulds commented 8 years ago

Line 380 of MDRadialProgressView.m

Change text = [NSString stringWithFormat:@"%.0f", percentageCompleted];

to

text = [NSString stringWithFormat:@"%.0f%%", percentageCompleted];

or introduce a new boolean flag and choose between the two