Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/buddax2/AYProgressBar

customized NSProgressIndicator. Basically its just two-colored line with active color and passive color.
https://github.com/buddax2/AYProgressBar

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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](https://github.com/buddax2/AYProgressBar/blob/master/screenshot.png?raw=true)

#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.