Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGessner committed May 20, 2016
1 parent 77c152c commit 47bce61
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion JGProgressHUD/JGProgressHUD/JGProgressHUD-Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ typedef NS_ENUM(NSUInteger, JGProgressHUDInteractionType) {
JGProgressHUDInteractionTypeBlockNoTouches
};

#ifndef fequal
/**
Macro for safe floating point comparison (for internal use in JGProgressHUD).
*/
#ifndef fequal
#define fequal(a,b) (fabs((a) - (b)) < FLT_EPSILON)
#endif
3 changes: 2 additions & 1 deletion JGProgressHUD/JGProgressHUD/JGProgressHUD.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,13 @@
@property (nonatomic, assign) NSTimeInterval minimumDisplayTime;

/**
Determines whether voiceover announcements should be made upon displaying the HUD.
Determines whether Voice Over announcements should be made upon displaying the HUD (if Voice Over is active).
@b Default: YES
*/
@property (nonatomic, assign) BOOL voiceOverEnabled;



/**
Shows the HUD animated. You should preferably show the HUD in a UIViewController's view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.
@param view The view to show the HUD in. The frame of the @c view will be used to calculate the position of the HUD.
Expand Down
5 changes: 5 additions & 0 deletions JGProgressHUD/JGProgressHUD/JGProgressHUDImageIndicatorView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

#import "JGProgressHUDIndicatorView.h"

/**
An indicator for displaying custom images. Supports animated images.
You may subclass this class to create a custom image indicator view.
*/
@interface JGProgressHUDImageIndicatorView : JGProgressHUDIndicatorView

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
*/
- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style;




/**
Set the color of the activity indicator view.
@param color The color to apply to the activity indicator view.
Expand Down
3 changes: 0 additions & 3 deletions JGProgressHUD/JGProgressHUD/JGProgressHUDPieIndicatorView.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
*/
- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style;




/**
Tint color of the Pie.
Expand Down
3 changes: 0 additions & 3 deletions JGProgressHUD/JGProgressHUD/JGProgressHUDRingIndicatorView.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
*/
- (instancetype)initWithHUDStyle:(JGProgressHUDStyle)style;




/**
Background color of the ring.
Expand Down

0 comments on commit 47bce61

Please sign in to comment.