Skip to content

customized NSProgressIndicator. Basically its just two-colored line with active color and passive color.

Notifications You must be signed in to change notification settings

buddax2/AYProgressBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AYProgressBar

customized NSProgressIndicator. Basically its just two-colored line with active color and passive color.

I made it to show a song progress in my player.

Alt progress bar screenshot

#How to use


    AYProgressIndicator *progressView = [[AYProgressIndicator alloc] initWithFrame:NSMakeRect(10, 10, 210, 2)
                                                                     progressColor:[NSColor redColor]
                                                                        emptyColor:[NSColor lightGrayColor]
                                                                          minValue:0
                                                                          maxValue:100
                                                                      currentValue:14];
    [self.view addSubview:progressView];

You can configure the size by setting proper frame size.

About

customized NSProgressIndicator. Basically its just two-colored line with active color and passive color.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published