Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/buddax2/AYProgressBar
- Owner: buddax2
- Created: 2013-12-15T21:00:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-15T21:23:51.000Z (almost 11 years ago)
- Last Synced: 2023-03-11T15:56:35.257Z (almost 2 years ago)
- Language: Objective-C
- Size: 172 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - AYProgressBar - Customized NSProgressIndicator. Basically its just two-colored line with active color and passive color. 【 [Priview](https://github.com/buddax2/AYProgressBar/raw/master/screenshot.png?raw=true) 】 (MacOS / Projects-Demo)
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.