JGProgressHUDFadeZoomAnimation Class Reference

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

Overview

An animation that fades in the HUD and expands the HUD from scale @c (0, 0) to a customizable scale, and finally to scale @c (1, 1), creating a bouncing effect.

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

  shrinkAnimationDuaration

Duration of the animation from or to the shrinked state.

@property (nonatomic, assign) NSTimeInterval shrinkAnimationDuaration

Discussion

Duration of the animation from or to the shrinked state.

@b Default: 0.2.

Declared In

JGProgressHUDFadeZoomAnimation.h

  expandAnimationDuaration

Duration of the animation from or to the expanded state.

@property (nonatomic, assign) NSTimeInterval expandAnimationDuaration

Discussion

Duration of the animation from or to the expanded state.

@b Default: 0.1.

Declared In

JGProgressHUDFadeZoomAnimation.h

  expandScale

The scale to apply to the HUD when expanding.

@property (nonatomic, assign) CGSize expandScale

Discussion

The scale to apply to the HUD when expanding.

@b Default: (1.1, 1.1).

Declared In

JGProgressHUDFadeZoomAnimation.h