DTProgressHUD Class Reference
| Inherits from | UIView |
| Declared in | DTProgressHUD.h |
Overview
Class for displaying informations (in the middle fo the screen).
The name of this class comes from Apples UIProgressHUD which is private API.
You can display text with either an image or progress.
There is no need to call addSubview on Superview of ‘DTProgressHUD’. Creates own ‘UIWindow’ for displaying similar to ‘UIAlertView’
Tasks
Other Methods
-
fadeInDurationproperty -
fadeOutDurationproperty -
contentColorproperty -
hideAnimationTypeproperty -
showAnimationTypeproperty
Showing of HUD
Updating of tex and image
Hiding of HUD
Progress
Properties
contentColor
Here you can specify the color that is used for displayed text and pie progress if used. Default color is black.
@property (nonatomic, strong) UIColor *contentColorDeclared In
DTProgressHUD.hfadeInDuration
The duration for fading in animation when show method is called. Default value is 0.3f.
@property (nonatomic, assign) NSTimeInterval fadeInDurationDeclared In
DTProgressHUD.hfadeOutDuration
The duration for fading out anaimation when hide method is called. Default value is 0.7f.
@property (nonatomic, assign) NSTimeInterval fadeOutDurationDeclared In
DTProgressHUD.hhideAnimationType
The type of animation when HUD is going to hide. On iOS6 every animation you set is done with fading because UIKit Dynamics requires iOS7
@property (nonatomic, assign) HUDProgressAnimationType hideAnimationTypeDeclared In
DTProgressHUD.hInstance Methods
hideAfterDelay:
Hides the displayed HUD after a given delay by fading out
- (void)hideAfterDelay:(NSTimeInterval)delayParameters
- delay
The time after HUD starts to fade out
Declared In
DTProgressHUD.hsetImage:
Update (set) image
- (void)setImage:(UIImage *)imageParameters
- image
The image to be (set) updated
Declared In
DTProgressHUD.hsetProgress:
Set progress when HUDProgressTypePie is used
- (void)setProgress:(float)progressParameters
- progress
The progress percentage
Declared In
DTProgressHUD.hsetText:
Update (set) text
- (void)setText:(NSString *)textParameters
- text
The text to be (set) updated
Declared In
DTProgressHUD.h