Gifhud
Progress Hud for displaying only animated GIF images. No labels (for now)
Status Indicator, used only to display GIF images. label cannot be added (until now)
Demo-Example
Usage-Use
Copy & Paste the gifhud. h/m files to your project.
Copy and paste the gifhud. h/m file to your project.
Add your GIF file or image sequance files to your project.
Add GIF files or image queue files to your project.
ImportGifHUD.h
Import gifhud. h file
//Setup GiFHUD image[GiFHUD setGifWithImageName:@"pika.gif"];[GiFHUD show];
Thats it!
That's all!
Just use[GiFHUD show]
Or[GiFHUD showWithOverlay]
For showing the HUD.
Use [gifhud show] or [gifhud showwithoverlay] to display the HUD.
[GiFHUD dismiss]
For dismissing the HUD.
[Gifhud dismiss] to make the HUD disappear.
+ (void)setGifWithImages:(NSArray *)images;+ (void)setGifWithImageName:(NSString *)imageName;+ (void)setGifWithURL:(NSURL *)gifUrl;
You can set your GIF with giving itsNSString
Name,NSBundle
URL orNSArray
OfUIImage
S.
You can set your GIF image by giving the image name, the URL of nsbundle, or the Image array sequence.
Optional values-options that can be set
#define Size 150#define FadeDuration 0.3#define GifSpeed 0.3#define OverlayAlpha 0.3
If you want to customise the looking just edit these values on the top of. M file.
If you want to customize some effects, modify them in the. M file.
Credits
The Animated GIF to uiimage library I used:
I used the following uiimage library to load GIF images:
Https://github.com/mayoff/uiimage-from-animated-gif
[Translation] gifhud