JGProgressHUDImageIndicatorView Class Reference

Inherits from JGProgressHUDIndicatorView : UIView
Declared in JGProgressHUDImageIndicatorView.h
JGProgressHUDImageIndicatorView.m

Overview

An indicator for displaying custom images. Supports animated images.

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

– initWithImage:

Initializes the indicator view with an UIImageView showing the @c image.

- (instancetype)initWithImage:(UIImage *)image

Parameters

image

The image to show in the indicator view.

Discussion

Initializes the indicator view with an UIImageView showing the @c image.

Declared In

JGProgressHUDImageIndicatorView.h

– setUpForHUDStyle:vibrancyEnabled:

Use this method to set up the indicator view to fit the HUD style and vibrancy setting. This method is called by @c JGProgressHUD when the indicator view is added to the HUD and when the HUD’s @c vibrancyEnabled property changes. This method may be called multiple times with different values. The default implementation does nothing.

- (void)setUpForHUDStyle:(JGProgressHUDStyle)style vibrancyEnabled:(BOOL)vibrancyEnabled

Discussion

Use this method to set up the indicator view to fit the HUD style and vibrancy setting. This method is called by @c JGProgressHUD when the indicator view is added to the HUD and when the HUD’s @c vibrancyEnabled property changes. This method may be called multiple times with different values. The default implementation does nothing.

Declared In

JGProgressHUDIndicatorView.h