JGProgressHUDFadeAnimation Class Reference

Inherits from JGProgressHUDAnimation : NSObject
Declared in JGProgressHUDFadeAnimation.h
JGProgressHUDFadeAnimation.m

Overview

A simple fade animation that fades the HUD from alpha @c 0.0 to alpha @c 1.0.

Other Methods

– show

The @c progressHUD is hidden from screen with @c alpha = 1 and @c hidden = @c YES. Ideally, you should prepare the HUD for presentation, then set @c hidden to @c NO on the @c progressHUD and then perform the animation. @post Call @c animationFinished.

- (void)show

Discussion

The @c progressHUD is hidden from screen with @c alpha = 1 and @c hidden = @c YES. Ideally, you should prepare the HUD for presentation, then set @c hidden to @c NO on the @c progressHUD and then perform the animation. @post Call @c animationFinished.

Declared In

JGProgressHUDAnimation.h

– hide

The @c progressHUD wis visible on screen with @c alpha = 1 and @c hidden = @c NO. You should only perform the animation in this method, the @c progressHUD itself will take care of hiding itself and removing itself from superview. @post Call @c animationFinished.

- (void)hide

Discussion

The @c progressHUD wis visible on screen with @c alpha = 1 and @c hidden = @c NO. You should only perform the animation in this method, the @c progressHUD itself will take care of hiding itself and removing itself from superview. @post Call @c animationFinished.

Declared In

JGProgressHUDAnimation.h

Other Methods

  duration

Duration of the animation.

@property (nonatomic, assign) NSTimeInterval duration

Discussion

Duration of the animation.

@b Default: 0.4.

Declared In

JGProgressHUDFadeAnimation.h

  animationOptions

Animation options

@property (nonatomic, assign) UIViewAnimationOptions animationOptions

Discussion

Animation options

@b Default: UIViewAnimationOptionCurveEaseInOut.

Declared In

JGProgressHUDFadeAnimation.h