JGProgressHUDAnimation Class Reference

Inherits from NSObject
Declared in JGProgressHUDAnimation.h
JGProgressHUDAnimation.m

Overview

You may subclass this class to create a custom progress indicator view.

Other Methods

+ animation

Convenience initializer.

+ (instancetype)animation

Discussion

Convenience initializer.

Declared In

JGProgressHUDAnimation.h

– 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

– animationFinished

@pre This method should only be called at the end of a @c show or @c hide animaiton. @attention ALWAYS call this method after completing a @c show or @c hide animation.

- (void)animationFinished

Discussion

@pre This method should only be called at the end of a @c show or @c hide animaiton. @attention ALWAYS call this method after completing a @c show or @c hide animation.

Declared In

JGProgressHUDAnimation.h

Other Methods

  progressHUD

The HUD using this animation.

@property (nonatomic, weak, readonly, nullable) JGProgressHUD *progressHUD

Discussion

The HUD using this animation.

Declared In

JGProgressHUDAnimation.h