TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Sep 2015 |
Maintained by Daniel Jackson.
Progress and Activity HUD for OSX.
I am really excited to introduce this ProgressHUD for osx. When I started my first osx app, I noticed that there was not good alternative to SVProgressHUD for the mac. Because this is a such a great tool for displaying a process, I decided to write it for the mac.
Please let me know if you find this helpfull!
Simple Progress - uses progress indicator
CGFloat currentProgress = 0.33;
[DJProgressHUD showProgress:currentProgress withStatus:@"The Progress!" FromView:self.view];
...
[DJProgressHUD dismiss];
Simple Status - uses activity indicator
[DJProgressHUD showStatus:@"INDICATOR" FromView:self.view];
...
[DJProgressHUD dismiss];
Progress Indicator - Customizing
DJProgressIndicator* progress = [[DJProgressIndicator alloc] initWithFrame: ... ];
[progress setRingThickness:8];
[progress setRingRadius:15];
[progress setBackgroundColor:[NSColor clearColor]];
[progress setRingColor:[NSColor whiteColor] backgroundRingColor:[NSColor darkGrayColor]];
[self.view addSubview:progress];
[progress showProgress: 0.33 ];