Skip to content

MossyrockMusing/gdevdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJProgressHUD

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!

Screenshot

##Setup

  1. Add DJProgressHUD to your application directory
  2. Ensure ARC is enabled on the project
  3. Import the file you want to use
  4. Use the samples below to display

##Whats included:

  • DJProgressHUD: A class to show a popup view to the user displaying the current progress or an activity indicator.
  • DJActivityIndicator: A customizable activity indicator. The mac's version, NSProgressIndicator, just doesn't cut it.
  • DJProgressIndicator: A customizable circular progress view. Change the thickness, radius, size and color. I couldnt find one for the mac. So again, I made one.

##Code Sample

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 ];

About

evjs is a set of utilities for testing, calibrating, and configuring evdev-based joysticks in Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published